From 7a63292cdc5ee3e56f18a72d299f297ee7fe0772 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Wed, 16 Feb 2011 20:39:40 +0000 Subject: [PATCH] Replace @@VERSION@@ with current saversion --- spamassassin.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/spamassassin.spec b/spamassassin.spec index b80b6fc..5c105dd 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -54,10 +54,12 @@ Requires: portreserve %define real_name Mail-SpamAssassin %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} +%global saversion 3.003002 + Summary: Spam filter for email which can be invoked from mail delivery agents Name: spamassassin Version: 3.3.2 -Release: 0.3.svn1027144%{?dist} +Release: 0.4.svn1027144%{?dist} License: ASL 2.0 Group: Applications/Internet URL: http://spamassassin.apache.org/ @@ -193,6 +195,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' # Default rules from separate tarball cd $RPM_BUILD_ROOT%{_datadir}/spamassassin/ tar xfvz %{SOURCE1} +sed -i -e 's|\@\@VERSION\@\@|%{saversion}|' *.cf cd - find $RPM_BUILD_ROOT/usr -type f -print | @@ -274,6 +277,10 @@ fi exit 0 %changelog +* Wed Feb 16 2011 Nick Bebout - 3.3.2-0.4.svn1027144 +- replace @@VERSION@@ with current saversion +- restart spampd after sa-update cronjob runs + * Wed Feb 09 2011 Fedora Release Engineering - 3.3.2-0.3.svn1027144 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild