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