SPECS: syslog-ng.spec - added dynamic bcond
qboosh
qboosh at pld-linux.org
Sun Mar 12 21:52:41 CET 2006
Author: qboosh Date: Sun Mar 12 20:52:41 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added dynamic bcond
---- Files affected:
SPECS:
syslog-ng.spec (1.114 -> 1.115)
---- Diffs:
================================================================
Index: SPECS/syslog-ng.spec
diff -u SPECS/syslog-ng.spec:1.114 SPECS/syslog-ng.spec:1.115
--- SPECS/syslog-ng.spec:1.114 Wed Mar 1 19:58:37 2006
+++ SPECS/syslog-ng.spec Sun Mar 12 21:52:35 2006
@@ -1,5 +1,8 @@
# $Revision$, $Date$
-
+#
+# Conditional build:
+%bcond_with dynamic # link dynamically with glib and eventlog
+#
%define mainver 1.9
%define minorver 9
@@ -20,11 +23,16 @@
URL: http://www.balabit.com/products/syslog_ng/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
-BuildRequires: eventlog-static
BuildRequires: flex
-BuildRequires: glib2-static
BuildRequires: libwrap-devel
BuildRequires: rpmbuild(macros) >= 1.268
+%if %{with dynamic}
+BuildRequires: eventlog-devel
+BuildRequires: glib2-devel >= 2.0.0
+%else
+BuildRequires: eventlog-static
+BuildRequires: glib2-static >= 2.0.0
+%endif
Requires(post): fileutils
Requires(post,preun): /sbin/chkconfig
Requires: logrotate
@@ -67,7 +75,10 @@
%{__autoconf}
%{__automake}
%configure \
- --sysconfdir=%{_sysconfdir}/syslog-ng
+ --sysconfdir=%{_sysconfdir}/syslog-ng \
+%if %{with dynamic}
+ --enable-dynamic-linking
+%endif
%{__make}
@@ -129,6 +140,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.115 2006/03/12 20:52:35 qboosh
+- added dynamic bcond
+
Revision 1.114 2006/03/01 18:58:37 baggins
- no, we don't want to use shared eventlog
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/syslog-ng.spec?r1=1.114&r2=1.115&f=u
More information about the pld-cvs-commit
mailing list