SPECS: rsyslog.spec - package only if --with build

paszczus paszczus at pld-linux.org
Thu Jul 3 11:54:13 CEST 2008


Author: paszczus                     Date: Thu Jul  3 09:54:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package only if --with build

---- Files affected:
SPECS:
   rsyslog.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/rsyslog.spec
diff -u SPECS/rsyslog.spec:1.8 SPECS/rsyslog.spec:1.9
--- SPECS/rsyslog.spec:1.8	Thu Jul  3 11:43:40 2008
+++ SPECS/rsyslog.spec	Thu Jul  3 11:54:07 2008
@@ -246,20 +246,26 @@
 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/klogd
 #%attr(755,root,root) %{_sbindir}/klogd
 
+%if %{with mysql}
 %files mysql
 %defattr(644,root,root,755)
 %doc plugins/ommysql/createDB.sql
 %{_libdir}/rsyslog/ommysql.so
+%endif
 
+%if %{with pgsql}
 %files pgsql
 %defattr(644,root,root,755)
 %doc plugins/ompgsql/createDB.sql
 %{_libdir}/rsyslog/ompgsql.so
+%endif
 
+%if %{with gssapi}
 %files gssapi
 %defattr(644,root,root,755)
 %{_libdir}/rsyslog/imgssapi.so
 %{_libdir}/rsyslog/omgssapi.so
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -267,6 +273,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008/07/03 09:54:07  paszczus
+- package only if --with build
+
 Revision 1.8  2008/07/03 09:43:40  paszczus
 - added rsyslog.{init,conf,sysconfig} files from fedora (need to pldize them?)
 - cleanups
================================================================

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



More information about the pld-cvs-commit mailing list