diff --git a/tuned.spec b/tuned.spec index 022d4ef..2812452 100644 --- a/tuned.spec +++ b/tuned.spec @@ -74,6 +74,7 @@ instead of fewer large ones). %install make install DESTDIR=%{buildroot} %py_compile %{buildroot} +rm -rf %{buildroot}/%{_datadir}/doc %pre %service_add_pre %{name}.service @@ -89,11 +90,7 @@ make install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) -%dir /usr/share/doc/tuned-%{version} -%doc /usr/share/doc/tuned-%{version}/AUTHORS -%doc /usr/share/doc/tuned-%{version}/COPYING -%doc /usr/share/doc/tuned-%{version}/README -%doc /usr/share/doc/tuned-%{version}/TIPS.txt +%doc AUTHORS COPYING README doc/TIPS.txt %config %{_sysconfdir}/bash_completion.d %{python_sitelib}/tuned %{_sbindir}/tuned