update to spec file for automatic RPM builds
Jo Rhett
jrhett at netconsonance.com
Mon Jan 14 02:25:58 CET 2013
If you apply this patch to the spec file included in the RPM and retar it, you can build RPMs for amavisd like so:
rpmbuild -tb amavisd-new-2.8.0.tar.gz
Marc, if you just update the version in this file every time you do a release it will likely work. I'm happy to send you fixes if there are any other things that need changing.
jrhett at geode SPECS$ diff -u amavisd-new.spec_orig amavisd-new.spec
--- amavisd-new.spec_orig 2008-04-23 12:25:10.000000000 -0700
+++ amavisd-new.spec 2013-01-13 17:17:15.395383523 -0800
@@ -6,7 +6,7 @@
Summary: Mail virus-scanner
Name: amavisd-new
-Version: 2.6.0
+Version: 2.8.0
Release: 1
License: GPL
Group: System Environment/Daemons
@@ -220,6 +220,9 @@
%config %{_sysconfdir}/openldap/schema/*.schema
#%{_sbindir}/amavis
%{_sbindir}/amavisd
+%{_sbindir}/amavisd-agent
+%{_sbindir}/amavisd-nanny
+%{_sbindir}/p0f-analyzer.pl
%defattr(0640, root, amavis, 0755)
%config(noreplace) %{_sysconfdir}/amavisd.conf
@@ -234,6 +237,9 @@
%changelog
+* Sun Jan 13 2013 Jo Rhett
+- Updated for 2.8.0
+
* Mon Oct 06 2004 Marius Andreiana
- Use amavisd's stop, reload, as Mark suggested
- remove amavis user/group on uninstall
--
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.
More information about the amavis-users
mailing list