SPECS: cups.spec - fix without static libs build

glen glen at pld-linux.org
Mon Apr 20 12:49:12 CEST 2009


Author: glen                         Date: Mon Apr 20 10:49:12 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix without static libs build

---- Files affected:
SPECS:
   cups.spec (1.253 -> 1.254) 

---- Diffs:

================================================================
Index: SPECS/cups.spec
diff -u SPECS/cups.spec:1.253 SPECS/cups.spec:1.254
--- SPECS/cups.spec:1.253	Fri Apr 17 11:16:01 2009
+++ SPECS/cups.spec	Mon Apr 20 12:49:06 2009
@@ -418,7 +418,9 @@
 if [ "%{_lib}" != "lib" ] ; then
 	install -d $RPM_BUILD_ROOT%{_libdir}
 	mv $RPM_BUILD_ROOT%{_ulibdir}/*.so* $RPM_BUILD_ROOT%{_libdir}
+%if %{with static_libs}
 	mv $RPM_BUILD_ROOT%{_ulibdir}/*.a $RPM_BUILD_ROOT%{_libdir}
+%endif
 fi
 
 %if %{with php}
@@ -790,6 +792,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.254  2009/04/20 10:49:06  glen
+- fix without static libs build
+
 Revision 1.253  2009/04/17 09:16:01  glen
 - update to 1.3.10 was performed, so remove sec blocker
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cups.spec?r1=1.253&r2=1.254&f=u



More information about the pld-cvs-commit mailing list