public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ranger] epel10: Modernize RPM Macros (rhbz#2378430)
@ 2026-06-10  3:14 Ben Boeckel
  0 siblings, 0 replies; only message in thread
From: Ben Boeckel @ 2026-06-10  3:14 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ranger
Branch : epel10
Commit : 835c3b6f3dfaa85b8f0799b64c77fec24c40d276
Author : Ben Boeckel <mathstuf@gmail.com>
Date   : 2025-07-09T21:27:24-04:00
Stats  : +16/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ranger/c/835c3b6f3dfaa85b8f0799b64c77fec24c40d276?branch=epel10

Log:
Modernize RPM Macros (rhbz#2378430)

---
diff --git a/ranger.spec b/ranger.spec
index 5c4b8f8..19b3b88 100644
--- a/ranger.spec
+++ b/ranger.spec
@@ -1,6 +1,6 @@
 Name:           ranger
 Version:        1.9.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A vim-like file manager
 License:        GPL-3.0-only
 URL:            https://ranger.github.io/
@@ -9,7 +9,6 @@ Source0:        https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%
 BuildArch:      noarch
 BuildRequires:  desktop-file-utils
 BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
 #Suggests:       w3m-img
 
 %description
@@ -25,29 +24,39 @@ you'll be going.
 sed -i -e '1d;2i#!/usr/bin/python3' %{name}.py
 
 
+%generate_buildrequires
+%pyproject_buildrequires
+
+
 %build
-%py3_build
+%pyproject_wheel
 
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l '*'
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 mv %{buildroot}%{_pkgdocdir} _doc
 find _doc -type f -exec chmod -R -x '{}' \;
 
 
-%files
-%license LICENSE
+%check
+%pyproject_check_import
+
+
+%files -f %{pyproject_files}
 %doc _doc/*
 %{_bindir}/ranger
 %{_bindir}/rifle
-%{python3_sitelib}/*
 %{_datadir}/applications/ranger.desktop
 %{_mandir}/man1/ranger.1*
 %{_mandir}/man1/rifle.1*
 
 
 %changelog
+* Wed Jul 09 2025 Ben Boeckel <fedora@me.benboeckel.net> - 1.9.4-5
+- Modernize RPM Macros (rhbz#2378430)
+
 * Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.9.4-4
 - Rebuilt for Python 3.14
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  3:14 [rpms/ranger] epel10: Modernize RPM Macros (rhbz#2378430) Ben Boeckel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox