SPECS (AC-branch): cups.spec - fix without static libs build

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


Author: glen                         Date: Mon Apr 20 10:48:39 2009 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- fix without static libs build

---- Files affected:
SPECS:
   cups.spec (1.202.2.7 -> 1.202.2.8) 

---- Diffs:

================================================================
Index: SPECS/cups.spec
diff -u SPECS/cups.spec:1.202.2.7 SPECS/cups.spec:1.202.2.8
--- SPECS/cups.spec:1.202.2.7	Fri Apr 17 11:16:37 2009
+++ SPECS/cups.spec	Mon Apr 20 12:48:34 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.202.2.8  2009/04/20 10:48:34  glen
+- fix without static libs build
+
 Revision 1.202.2.7  2009/04/17 09:16:37  glen
 - update to 1.3.10 from HEAD
 
================================================================

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



More information about the pld-cvs-commit mailing list