public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ranger] epel10: - spec modernization thanks to Filip Szymański <fszymanski@fedoraproject.org>
Date: Wed, 10 Jun 2026 03:14:15 GMT [thread overview]
Message-ID: <178106125580.1.212741051653133391.rpms-ranger-1af34e7b0d65@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ranger
Branch : epel10
Commit : 1af34e7b0d65daa12e3588e511c0d55043efff76
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2018-10-23T20:18:42-03:00
Stats : +19/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ranger/c/1af34e7b0d65daa12e3588e511c0d55043efff76?branch=epel10
Log:
- spec modernization thanks to Filip Szymański <fszymanski@fedoraproject.org>
- fixes rhbz #1592733 #1408563 #1495481 and #1559823
---
diff --git a/ranger.spec b/ranger.spec
index f98a7e5..5707424 100644
--- a/ranger.spec
+++ b/ranger.spec
@@ -1,15 +1,15 @@
Name: ranger
Version: 1.9.2
-Release: 1%{?dist}
-Summary: A flexible console file manager
-
-Group: Development/Languages
+Release: 2%{?dist}
+Summary: A vim-like file manager
License: GPLv3+
URL: https://ranger.github.io/
-Source0: http://git.savannah.gnu.org/cgit/%{name}.git/snapshot/%{name}-%{version}.tar.gz
+Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: desktop-file-utils
BuildRequires: python3-devel
+BuildRequires: python3-setuptools
#Suggests: w3m-img
%description
@@ -22,29 +22,36 @@ you'll be going.
%prep
%autosetup
+sed -i -e '1d;2i#!/usr/bin/python3' %{name}.py
%build
-%{__python3} setup.py build
+%py3_build
%install
-%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
-mv %{buildroot}%{_docdir}/%{name} rpmdocs
-find rpmdocs -type f -exec chmod -v -R -X '{}' \;
+%py3_install
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+mv %{buildroot}%{_pkgdocdir} _doc
+find _doc -type f -exec chmod -R -x '{}' \;
%files
-%doc rpmdocs/*
+%license LICENSE
+%doc _doc/*
%{_bindir}/ranger
%{_bindir}/rifle
%{python3_sitelib}/*
-%{_mandir}/man1/ranger.1.gz
-%{_mandir}/man1/rifle.1.gz
%{_datadir}/applications/ranger.desktop
+%{_mandir}/man1/ranger.1*
+%{_mandir}/man1/rifle.1*
%changelog
+* Sun Oct 21 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.9.2-2
+- spec modernization thanks to Filip Szymański <fszymanski@fedoraproject.org>
+- fixes rhbz #1592733 #1408563 #1495481 and #1559823
+
* Sun Oct 21 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.9.2-1
- update to latest version + spec cleanup, fixes rhbz #1408563
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=178106125580.1.212741051653133391.rpms-ranger-1af34e7b0d65@fedoraproject.org \
--to=rosset.filipe@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