packages: keyutils/keyutils.spec - glibc24 bcond to build on ac

glen glen at pld-linux.org
Sun Aug 22 11:23:04 CEST 2010


Author: glen                         Date: Sun Aug 22 09:23:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- glibc24 bcond to build on ac

---- Files affected:
packages/keyutils:
   keyutils.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/keyutils/keyutils.spec
diff -u packages/keyutils/keyutils.spec:1.5 packages/keyutils/keyutils.spec:1.6
--- packages/keyutils/keyutils.spec:1.5	Mon May 10 09:42:54 2010
+++ packages/keyutils/keyutils.spec	Sun Aug 22 11:22:58 2010
@@ -1,4 +1,12 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%if "%{pld_release}" == "ac"
+%bcond_with		glibc24		# build for older glibc
+%else
+%bcond_without	glibc24		# build for older glibc
+%endif
+
 Summary:	Linux Key Management Utilities
 Summary(pl.UTF-8):	Narzędzia do linuksowego zarządzania kluczami
 Name:		keyutils
@@ -27,7 +35,7 @@
 Summary(pl.UTF-8):	Biblioteka narzędzi do zarządzania kluczami
 License:	LGPL v2+
 Group:		Libraries
-Requires:	glibc >= 6:2.4
+%{?with_glibc24:Requires:	glibc >= 6:2.4}
 
 %description libs
 This package provides a wrapper library for the key management
@@ -72,6 +80,9 @@
 	CC="%{__cc}" \
 	LIBDIR=/%{_lib} \
 	USRLIBDIR=%{_libdir} \
+%if %{without glibc24}
+	NO_GLIBC_KEYERR=1 \
+%endif
 	CFLAGS="-Wall %{rpmcflags}" \
 	LDFLAGS="%{rpmldflags}"
 
@@ -122,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/08/22 09:22:58  glen
+- glibc24 bcond to build on ac
+
 Revision 1.5  2010/05/10 07:42:54  qboosh
 - updated to 1.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/keyutils/keyutils.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list