From fbdb54a4a41ab553740328770918745b51f9d5a6 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sat, 31 May 2008 19:18:54 +0000 Subject: - updated to 1.1.7 - moved bogoupgrade to its own package to remove the perl dependency on bogofilter (bz #442843) --- bogofilter.spec | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'bogofilter.spec') diff --git a/bogofilter.spec b/bogofilter.spec index d81d26d..241fc41 100644 --- a/bogofilter.spec +++ b/bogofilter.spec @@ -1,7 +1,7 @@ Summary: Fast anti-spam filtering by Bayesian statistical analysis Name: bogofilter -Version: 1.1.6 -Release: 2%{?dist} +Version: 1.1.7 +Release: 1%{?dist} License: GPLv2 Group: Applications/Internet URL: http://bogofilter.sourceforge.net/ @@ -19,6 +19,20 @@ Bogofilter is designed with fast algorithms (including Berkeley DB system), coded directly in C, and tuned for speed, so it can be used for production by sites that process a lot of mail. +%package bogoupgrade +Summary: Upgrades bogofilter database to current version +Group: Applications/Internet +Provides: bogoupgrade +Requires: %{name} = %{version}-%{release} + +%description bogoupgrade +bogoupgrade is a command to upgrade bogofilter’s databases from an old +format to the current format. Since the format of the database changes +once in a while, the utility is designed to make the upgrade easy. + +bogoupgrade is in an extra package to remove the perl dependency on the +main bogofilter package. + %prep %setup -q iconv -f iso-8859-1 -t utf-8 \ @@ -46,6 +60,11 @@ iconv -f iso-8859-1 -t utf-8 \ %clean %{__rm} -rf %{buildroot} +%files bogoupgrade +%defattr(-, root, root, 0755) +%{_bindir}/bogoupgrade +%{_mandir}/man1/bogoupgrade* + %files %defattr(-, root, root, 0755) %doc AUTHORS COPYING NEWS README* RELEASE.NOTES* TODO bogofilter.cf.example @@ -56,8 +75,15 @@ iconv -f iso-8859-1 -t utf-8 \ %config(noreplace) %{_sysconfdir}/bogofilter.cf %{_bindir}/bogo* %{_bindir}/bf_* +%exclude %{_bindir}/bogoupgrade +%exclude %{_mandir}/man1/bogoupgrade* %changelog +* Sat May 31 2008 Adrian Reber - 1.1.7-1 +- updated to 1.1.7 +- moved bogoupgrade to its own package to remove the perl + dependency on bogofilter (bz #442843) + * Thu Feb 14 2008 Adrian Reber - 1.1.6-2 - rebuilt for gcc43 -- cgit