packages: gtk+3/gtk+3.spec - don't try to remove *.a if building without st...

atler atler at pld-linux.org
Tue Jan 25 14:48:25 CET 2011


Author: atler                        Date: Tue Jan 25 13:48:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't try to remove *.a if building without static_libs

---- Files affected:
packages/gtk+3:
   gtk+3.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/gtk+3/gtk+3.spec
diff -u packages/gtk+3/gtk+3.spec:1.16 packages/gtk+3/gtk+3.spec:1.17
--- packages/gtk+3/gtk+3.spec:1.16	Tue Jan 11 19:24:47 2011
+++ packages/gtk+3/gtk+3.spec	Tue Jan 25 14:48:20 2011
@@ -258,8 +258,10 @@
 cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # shut up check-files (static modules and *.la for modules)
-%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.{a,la}
-%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/*/*.{a,la}
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.la \
+	%{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/gtk-3.0/modules/*.a}
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/*/*.la \
+	%{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/gtk-3.0/%{abivers}/*/*.a}
 
 %if "%{_lib}" != "lib"
 # We need to have 32-bit and 64-bit binaries as they have hardcoded LIBDIR.
@@ -412,6 +414,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/01/25 13:48:20  atler
+- don't try to remove *.a if building without static_libs
+
 Revision 1.16  2011/01/11 18:24:47  wiget
 - this release fix libgailutil linking
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gtk+3/gtk+3.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list