[packages/blueman] cleanup unpackaged files

glen glen at pld-linux.org
Sun Nov 1 22:25:27 CET 2015


commit 68bdd93d26dc0b35285a8c75267700e40dd33c22
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 1 22:46:04 2015 +0200

    cleanup unpackaged files

 blueman.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/blueman.spec b/blueman.spec
index f6787fd..8e65dc0 100644
--- a/blueman.spec
+++ b/blueman.spec
@@ -74,6 +74,7 @@ export NOCONFIGURE='yes' && ./autogen.sh \
 	--enable-xfce-settings=yes \
 	--no-configure
 %configure \
+	--disable-static \
 	--disable-schemas-compile \
 
 %{__make}
@@ -83,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/_blueman.la
+
 %find_lang %{name} --with-gnome
 
 %clean
@@ -117,7 +121,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %{py_sitescriptdir}/%{name}
 %dir %{_pixmapsdir}/blueman
 %{_pixmapsdir}/blueman/blueman-*.png
-%dir %{_docdir}/blueman
 %{_datadir}/polkit-1/actions/org.blueman.policy
 
 %files thunar
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/blueman.git/commitdiff/8c7796aa637650cd0aec47c381fbd9889b6d55ef



More information about the pld-cvs-commit mailing list