auto-import changelog data from spamassassin-2.63-8.src.rpm
Sun May 02 2004 Ville Skyttä <ville.skytta at iki.fi> - 2.63-8 - #122233 - Require perl(:MODULE_COMPAT_*). - Use %{_mandir} and %{_initrddir}. - Fix License tag and include License in docs. - Backslashify multiline init script description.
This commit is contained in:
parent
b328f3ca03
commit
9f7184035e
@ -2,14 +2,13 @@
|
|||||||
|
|
||||||
%define name spamassassin
|
%define name spamassassin
|
||||||
%define real_name Mail-SpamAssassin
|
%define real_name Mail-SpamAssassin
|
||||||
%define initdir %{_initrddir}
|
|
||||||
%define krb5backcompat %([ -a /usr/kerberos/include/krb5.h ] && echo 1 || echo 0)
|
%define krb5backcompat %([ -a /usr/kerberos/include/krb5.h ] && echo 1 || echo 0)
|
||||||
|
|
||||||
Summary: Spam filter for email which can be invoked from mail delivery agents.
|
Summary: Spam filter for email which can be invoked from mail delivery agents.
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: 2.63
|
Version: 2.63
|
||||||
Release: 7
|
Release: 8
|
||||||
License: Artistic
|
License: GPL or Artistic
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://spamassassin.org/
|
URL: http://spamassassin.org/
|
||||||
Source0: http://spamassassin.org/devel/Mail-SpamAssassin-%{version}.tar.bz2
|
Source0: http://spamassassin.org/devel/Mail-SpamAssassin-%{version}.tar.bz2
|
||||||
@ -22,7 +21,8 @@ Source99: filter-requires-spamassassin.sh
|
|||||||
# Patch: spamassassin-2.50-servicename.patch
|
# Patch: spamassassin-2.50-servicename.patch
|
||||||
# Patch2: spamassassin-2.50-chld.patch
|
# Patch2: spamassassin-2.50-chld.patch
|
||||||
Patch3: spamassassin-2.63-krb5-backcompat.patch
|
Patch3: spamassassin-2.63-krb5-backcompat.patch
|
||||||
Requires: %(perl -le 'use Config; print $Config{sitelibexp}')
|
Patch4: spamassassin-2.63-init.patch
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
Requires: /sbin/chkconfig /sbin/service
|
Requires: /sbin/chkconfig /sbin/service
|
||||||
@ -67,6 +67,8 @@ echo %{krb5backcompat}
|
|||||||
%if %{krb5backcompat}
|
%if %{krb5backcompat}
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%endif
|
%endif
|
||||||
|
%patch4 -p0
|
||||||
|
chmod 644 License
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -79,12 +81,12 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall PREFIX=%buildroot/%{prefix} \
|
%makeinstall PREFIX=%buildroot/%{prefix} \
|
||||||
INSTALLMAN1DIR=%buildroot/%{prefix}/share/man/man1 \
|
INSTALLMAN1DIR=%buildroot/%{_mandir}/man1 \
|
||||||
INSTALLMAN3DIR=%buildroot/%{prefix}/share/man/man3 \
|
INSTALLMAN3DIR=%buildroot/%{_mandir}/man3 \
|
||||||
LOCAL_RULES_DIR=%{buildroot}/etc/mail/spamassassin
|
LOCAL_RULES_DIR=%{buildroot}/etc/mail/spamassassin
|
||||||
chmod 755 %buildroot/%{_bindir}/* # allow stripping
|
chmod 755 %buildroot/%{_bindir}/* # allow stripping
|
||||||
install -d %buildroot/%{initdir}
|
install -d %buildroot/%{_initrddir}
|
||||||
install -m 0755 spamd/redhat-rc-script.sh %buildroot/%{initdir}/spamassassin
|
install -m 0755 spamd/redhat-rc-script.sh %buildroot/%{_initrddir}/spamassassin
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
||||||
@ -113,7 +115,8 @@ fi
|
|||||||
%files -f %{name}-%{version}-filelist
|
%files -f %{name}-%{version}-filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README Changes sample-nonspam.txt sample-spam.txt spamd/README.spamd
|
%doc README Changes sample-nonspam.txt sample-spam.txt spamd/README.spamd
|
||||||
%config(noreplace) %{initdir}/spamassassin
|
%doc License
|
||||||
|
%config(noreplace) %{_initrddir}/spamassassin
|
||||||
%config(noreplace) %{_sysconfdir}/mail/spamassassin
|
%config(noreplace) %{_sysconfdir}/mail/spamassassin
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/spamassassin
|
%config(noreplace) %{_sysconfdir}/sysconfig/spamassassin
|
||||||
|
|
||||||
@ -143,6 +146,13 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 2 2004 Ville Skyttä <ville.skytta at iki.fi> - 2.63-8
|
||||||
|
- #122233
|
||||||
|
- Require perl(:MODULE_COMPAT_*).
|
||||||
|
- Use %%{_mandir} and %%{_initrddir}.
|
||||||
|
- Fix License tag and include License in docs.
|
||||||
|
- Backslashify multiline init script description.
|
||||||
|
|
||||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user