packages: tre/tre.spec - fix without static_libs

glen glen at pld-linux.org
Fri Aug 27 14:17:32 CEST 2010


Author: glen                         Date: Fri Aug 27 12:17:32 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix without static_libs

---- Files affected:
packages/tre:
   tre.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/tre/tre.spec
diff -u packages/tre/tre.spec:1.8 packages/tre/tre.spec:1.9
--- packages/tre/tre.spec:1.8	Sat Feb 27 09:13:48 2010
+++ packages/tre/tre.spec	Fri Aug 27 14:17:27 2010
@@ -2,7 +2,7 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static lirbary
-#
+
 Summary:	TRE: approximate regex matching
 Summary(pl.UTF-8):	TRE - przybliżone dopasowywanie wyrażeń regularnych
 Name:		tre
@@ -95,9 +95,11 @@
 %{_includedir}/tre
 %{_pkgconfigdir}/tre.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libtre.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -105,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/08/27 12:17:27  glen
+- fix without static_libs
+
 Revision 1.8  2010/02/27 08:13:48  qboosh
 - build -static
 - P+O: agrep
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tre/tre.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list