diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | Makefile | 11 | ||||
-rw-r--r-- | bogofilter-1.2.5.repack.tar.gz | bin | 0 -> 1180342 bytes | |||
-rw-r--r-- | bogofilter.spec | 14 |
4 files changed, 26 insertions, 6 deletions
@@ -1,4 +1,3 @@ -bogofilter-1.2.2.tar.gz -/bogofilter-1.2.3.tar.gz -/bogofilter-1.2.3.repack.tar.gz -/bogofilter-1.2.4.repack.tar.gz +*.rpm +Makefile.* +download.copr.fedorainfracloud.org.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..586ae08 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +# Run as +# make -f <cloned_repodir>/.copr/Makefile srpm outdir="<outdir>" spec="<spec_path>" +srpm: + echo $(outdir) + rpmbuild --eval '%undefine scl' \ + --define "_sourcedir $(shell pwd)" \ + --define "_srcrpmdir $(shell pwd)" \ + --define "_rpmdir $(shell pwd)" \ + --define "_topdir $(shell pwd)" \ + --define "_builddir $(shell pwd)/build" \ + -bs "./bogofilter.spec" diff --git a/bogofilter-1.2.5.repack.tar.gz b/bogofilter-1.2.5.repack.tar.gz Binary files differnew file mode 100644 index 0000000..05950e1 --- /dev/null +++ b/bogofilter-1.2.5.repack.tar.gz diff --git a/bogofilter.spec b/bogofilter.spec index 19c48e3..071d5c3 100644 --- a/bogofilter.spec +++ b/bogofilter.spec @@ -1,6 +1,6 @@ Summary: Fast anti-spam filtering by Bayesian statistical analysis Name: bogofilter -Version: 1.2.4 +Version: 1.2.5 Release: 1%{?dist} License: GPLv2 Group: Applications/Internet @@ -10,12 +10,14 @@ URL: http://bogofilter.sourceforge.net/ # but due to bug 912694 which identified three files with license # problems the following steps are necessary to repack bogofilter # wget http://downloads.sourceforge.net/bogofilter/bogofilter-1.2.4.tar.gz -# tar xf bogofilter-1.2.4.tar.gz +# tar xf bogofilter-1.2.4.tar.gz # rm bogofilter-1.2.4/doc/bogofilter-SA-20[0-1][0,5]-0[1,2] # tar cf bogofilter-1.2.4.repack.tar.gz bogofilter-1.2.4 Source: bogofilter-%{version}.repack.tar.gz +BuildRequires: gcc BuildRequires: flex db4-devel gsl-devel BuildRequires: /usr/bin/iconv +BuildRequires: make %description Bogofilter is a Bayesian spam filter. In its normal mode of @@ -62,6 +64,11 @@ CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %conf %{__install} -m644 doc/*.html rpm-doc/html/ %{__chmod} -x contrib/* +%{__rm} -v contrib/bogogrep.o +%{__rm} -rfv contrib/.deps + +%check +%{__make} %{?_smp_mflags} check %files bogoupgrade %defattr(-, root, root, 0755) @@ -82,6 +89,9 @@ CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %conf %exclude %{_mandir}/man1/bogoupgrade* %changelog +* Sun Feb 18 2024 Matej Cepl <mcepl@suse.com> - 1.2.5-1 +- New upstream version. + * Wed Apr 23 2014 Adrian Reber <adrian@lisas.de> - 1.2.4-1 - updated to 1.2.4 (fixes #1084359) |