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
This commit is contained in:
Scott Bradnick 2023-04-19 14:25:50 +00:00 committed by Git OBS Bridge
parent 4dbf1a1d0c
commit dbb29b394a
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 19 14:04:00 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- doc: clean up doc files
-------------------------------------------------------------------
Sun Apr 16 22:40:31 UTC 2023 - scott.bradnick@suse.com

View File

@ -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