SPECS: sa-exim.spec - create missing directory, pass CFLAGS

twittner twittner at pld-linux.org
Mon Feb 19 21:02:45 CET 2007


Author: twittner                     Date: Mon Feb 19 20:02:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create missing directory, pass CFLAGS

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

---- Diffs:

================================================================
Index: SPECS/sa-exim.spec
diff -u SPECS/sa-exim.spec:1.8 SPECS/sa-exim.spec:1.9
--- SPECS/sa-exim.spec:1.8	Mon Feb 12 23:09:14 2007
+++ SPECS/sa-exim.spec	Mon Feb 19 21:02:40 2007
@@ -27,12 +27,13 @@
 %{__make} \
 SACONF="%{_sysconfdir}/mail/sa-exim.conf" \
 	LDFLAGS="-shared -fPIC %{rpmldflags}" \
-	CC="%{__cc}"
-%{__make}
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mail,%{_libdir}/exim,%{_var}/spool/sa-exim}
 
 install sa-exim-*.so $RPM_BUILD_ROOT%{_libdir}/exim/%{name}.so
 install sa-exim.conf $RPM_BUILD_ROOT%{_sysconfdir}/mail/sa-exim.conf
@@ -45,7 +46,7 @@
 %doc contrib/*.txt ACKNOWLEDGEMENTS CHANGELOG README* TODO
 %attr(640,root,exim) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/sa-exim.conf
 %attr(755,root,root) %{_libdir}/exim/%{name}.so
-%dir  /var/spool/sa-exim/
+%dir %{_var}/spool/sa-exim
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -53,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/02/19 20:02:40  twittner
+- create missing directory, pass CFLAGS
+
 Revision 1.8  2007/02/12 22:09:14  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sa-exim.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list