From dbb29b394ae3d63c2fcd27724f400154fd3fd497 Mon Sep 17 00:00:00 2001 From: Scott Bradnick Date: Wed, 19 Apr 2023 14:25:50 +0000 Subject: [PATCH] Accepting request 1080344 from home:mantarimay:apps - doc: clean up doc files OBS-URL: https://build.opensuse.org/request/show/1080344 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=35 --- ranger.changes | 5 +++++ ranger.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ranger.changes b/ranger.changes index 807cd06..f18647f 100644 --- a/ranger.changes +++ b/ranger.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 19 14:04:00 UTC 2023 - Muhammad Akbar Yanuar Mantari + +- doc: clean up doc files + ------------------------------------------------------------------- Sun Apr 16 22:40:31 UTC 2023 - scott.bradnick@suse.com diff --git a/ranger.spec b/ranger.spec index 9523ff0..d01ac98 100644 --- a/ranger.spec +++ b/ranger.spec @@ -63,7 +63,8 @@ python3 ./setup.py install \ --prefix="%{_prefix}" \ --root=%{buildroot} -rm -rf "%{buildroot}%{_datadir}/doc/ranger" +mv "%{buildroot}%{_datadir}/doc/ranger" _doc +find _doc -type f -exec chmod -R -x '{}' \; %if 0%{?suse_version} < 1500 %post @@ -75,10 +76,7 @@ rm -rf "%{buildroot}%{_datadir}/doc/ranger" %files %license LICENSE -%doc AUTHORS CHANGELOG.md README.md HACKING.md -%doc doc/colorschemes.md -%doc doc/tools -%doc examples +%doc _doc/* %{_bindir}/ranger %{_bindir}/rifle %{python3_sitelib}/ranger_fm-%{short_version}-*.egg-info