auto-import changelog data from spamassassin-2.43-5.src.rpm

Fri Nov 22 2002 Tim Powers <timp@redhat.com>
- rebuilt to solve broken perl deps
This commit is contained in:
cvsdist 2004-09-09 12:34:52 +00:00
parent 4f82ca8e30
commit ac4a422ebd
3 changed files with 17 additions and 19 deletions

View File

@ -1 +1 @@
Mail-SpamAssassin-2.31.tar.gz
Mail-SpamAssassin-2.43.tar.gz

View File

@ -1 +1 @@
a9878b4ea035964c04c4899ee154e222 Mail-SpamAssassin-2.31.tar.gz
b39d3b597f8e0abd13aa9da46c83f2d2 Mail-SpamAssassin-2.43.tar.gz

View File

@ -4,10 +4,10 @@
Summary: This is SpamAssassin, a spam filter for email which can be invoked from mail delivery agents.
Name: %{name}
Version: 2.31
Release: 16
Version: 2.43
Release: 5
License: Artistic
Group: Networking/Mail
Group: Applications/Internet
URL: http://spamassassin.org/
Source0: http://spamassassin.org/devel/Mail-SpamAssassin-%{version}.tar.gz
Source2: redhat_local.cf
@ -15,10 +15,6 @@ Source3: spamassassin-default.rc
Source4: spamassassin-spamc.rc
Source5: spamassassin.sysconfig
Source99: filter-requires-spamassassin.sh
Patch: spamassassin-2.31-migrate.patch
Patch1: spamassassin-2.31-findbin.patch
Patch2: spamassassin-2.31-init.patch
Patch3: spamassassin-2.31-speed.patch
Requires: perl >= 5.004
Buildroot: %{_tmppath}/%{name}-root
Prefix: %{_prefix}
@ -57,13 +53,10 @@ To filter spam for all users, add that line to /etc/procmailrc
%prep
%setup -q -n %{real_name}-%{version}
%patch -p1
%patch1 -p1 -b .findbin
%patch2 -p1 -b .init
%patch3 -p2 -b .speed
%build
%{__perl} Makefile.PL PREFIX=$RPM_BUILD_ROOT%{prefix} INSTALLDIRS=vendor
%{__perl} Makefile.PL PREFIX=$RPM_BUILD_ROOT/%{_prefix} SYSCONFDIR=$RPM_BUILD_ROOT/%{_sysconfdir} INST_PREFIX=%{_prefix} INST_SYSCONFDIR=%{_sysconfdir} INSTALLDIRS=vendor
%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
#%make test
@ -77,18 +70,20 @@ To filter spam for all users, add that line to /etc/procmailrc
install -d %buildroot/%{initdir}
install -m 0755 spamd/redhat-rc-script.sh %buildroot/%{initdir}/spamassassin
install -m 0644 %{SOURCE2} %buildroot/etc/mail/spamassassin/local.cf
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin/local.cf
install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/spamassassin
install -m 0644 %{SOURCE3} %buildroot/etc/mail/spamassassin
install -m 0644 %{SOURCE4} %buildroot/etc/mail/spamassassin
mkdir -p %{buildroot}/etc/mail/spamassassin
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/spamassassin
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
@ -100,7 +95,7 @@ fi
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%doc README Changes TODO sample-nonspam.txt sample-spam.txt spamd/README.spamd doc
%doc README Changes sample-nonspam.txt sample-spam.txt spamd/README.spamd doc
%config(noreplace) %{initdir}/spamassassin
%config(noreplace) %{_sysconfdir}/mail/spamassassin
%config(noreplace) %{_sysconfdir}/sysconfig/spamassassin
@ -126,6 +121,9 @@ fi
exit 0
%changelog
* Fri Nov 22 2002 Tim Powers <timp@redhat.com>
- rebuilt to solve broken perl deps
* Thu Aug 15 2002 Chip Turner <cturner@redhat.com>
- speedup patch from upstream