]> git.pld-linux.org Git - packages/expat.git/commitdiff
- added bcond_without static_libs auto/ac/expat-2_0_1-1 auto/ti/expat-2_0_1-1
authorwitekfl <witekfl@pld-linux.org>
Mon, 20 Aug 2007 18:45:28 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    expat.spec -> 1.57

expat.spec

index f469ead9b3c3709e7191fee2a040e52ceb4a11d4..dbffa5ee7aba64c3c23ace3465940895ca82b15d 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       XML 1.0 parser
 Summary(es.UTF-8):     Parser de XML 1.0
 Summary(pl.UTF-8):     Analizator składni XML-a 1.0
@@ -127,7 +131,8 @@ Bibliotecas estáticas para desenvolvimento com a biblioteca expat.
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -165,6 +170,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/expat*.h
 %{_aclocaldir}/expat.m4
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libexpat.a
+%endif
This page took 0.083103 seconds and 4 git commands to generate.