Replace @@VERSION@@ with current saversion
This commit is contained in:
parent
8f17aef4b2
commit
7a63292cdc
@ -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 <nb@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 3.3.2-0.3.svn1027144
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user