public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ben Boeckel <mathstuf@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ranger] epel10: Modernize RPM Macros (rhbz#2378430)
Date: Wed, 10 Jun 2026 03:14:28 GMT [thread overview]
Message-ID: <178106126841.1.11768566298995008846.rpms-ranger-835c3b6f3dfa@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-10 3:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178106126841.1.11768566298995008846.rpms-ranger-835c3b6f3dfa@fedoraproject.org \
--to=mathstuf@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox