From d9b229f7aa413875038e8c93ceb7cf7d5911e3d7dbffc0f147f996d5708972d2 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Tue, 30 Oct 2012 13:53:37 +0000
Subject: [PATCH] OBS-URL:
https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=2
---
tuned.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
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