]> git.pld-linux.org Git - packages/cups.git/commitdiff
- fix without static libs build
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 20 Apr 2009 10:49:06 +0000 (10:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups.spec -> 1.254

cups.spec

index 90a5e9a4c31a33b369daf277dc634e9192055f41..4bd06aefb33d34a25f73085487092fbaaca5b201 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -417,7 +417,9 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,logrotate.d,security,sysconfig
 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}
This page took 0.035776 seconds and 4 git commands to generate.