commit 18bcc05a8cdb082ee6b2024c2660d13480dd70a2 Author: Nathanael D. Noblet <nathanael@xxxxxxx> Date: Wed May 25 22:22:02 2011 -0600 added tmpfiles & rpath fix dspam-tmpfiles | 1 + dspam.spec | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletions(-) --- diff --git a/dspam-tmpfiles b/dspam-tmpfiles new file mode 100644 index 0000000..9f59109 --- /dev/null +++ b/dspam-tmpfiles @@ -0,0 +1 @@ +d /var/run/dspam 0770 dspam mail - diff --git a/dspam.spec b/dspam.spec index 48ed3a0..ff464c6 100644 --- a/dspam.spec +++ b/dspam.spec @@ -11,7 +11,7 @@ Summary: A library and Mail Delivery Agent for Bayesian SPAM filtering Name: dspam Version: 3.9.0 -Release: 19%{?dist} +Release: 20%{?dist} License: GPLv2 Group: System Environment/Daemons Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -21,6 +21,7 @@ Source3: dspam-logrotate Source4: dspam-web.conf Source5: dspam-front Source6: dspam-sysconfig +Source7: dspam-tmpfiles Source99: dspam-filter-requires.sh Patch0: dspam-3.9.0-file-name.patch Patch1: dspam-3.9.0-docs.patch @@ -163,6 +164,9 @@ Web-based interface for DSPAM's powerful Anti-Spam engine. --with-logdir='%{dspam_logdir}' \ --sysconfdir='%{dspam_confdir}' +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + %{__make} OPTIMIZE="%{optflags} -fPIC -DPIC" %install @@ -226,6 +230,9 @@ echo "Scanned and tagged as non-SPAM with DSPAM %{version} by Your ISP.com"> $RP # install sysconfig script %{__install} -Dp -m0755 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/dspam +# install tmpfiles script +%{__install} -Dp -m0644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/dspam.conf + # install devel files %{__install} -Dp -m 0644 src/*.h $RPM_BUILD_ROOT%{_includedir}/dspam/ @@ -298,6 +305,7 @@ exit 0 %attr(0770,%{dspam_user},%{mail_group}) %dir %{_var}/run/dspam %{_sysconfdir}/cron.daily/dspam %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/sysconfig/dspam +%config(noreplace) %{_sysconfdir}/tmpfiles.d/dspam.conf %config(noreplace) %{_sysconfdir}/logrotate.d/dspam %attr(0640,root,%{mail_group}) %config(noreplace) %{dspam_confdir}/dspam.conf %attr(0644,root,%{mail_group}) %config(noreplace) %{dspam_confdir}/dspam.conf.default @@ -368,6 +376,10 @@ exit 0 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf %changelog +* Wed May 25 2011 Nathanael Noblet <nathanael@xxxxxxx> - 3.9.0-20 +- add tmpfile for /var/run/dspam +- remove rpaths that suddenly show up in F15 + * Tue Mar 22 2011 Nathanael Noblet <nathanael@xxxxxxx> - 3.9.0-19 - Rebuilt for libmysqlclient soname bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel