1 |
# $Id: smeserver-spamassassin.spec,v 1.11 2021/01/08 19:46:48 jpp Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.13 2021/02/17 18:47:38 jpp Exp $ |
2 |
|
|
3 |
Summary: SME Server - spamassassin anti-spam module |
Summary: SME Server - spamassassin anti-spam module |
4 |
%define name smeserver-spamassassin |
%define name smeserver-spamassassin |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.7.0 |
%define version 2.7.0 |
7 |
%define release 3 |
%define release 5 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
29 |
Requires: e-smith-qmail >= 1.9.0-09sme02 |
Requires: e-smith-qmail >= 1.9.0-09sme02 |
30 |
Requires: smeserver-clamav >= 2.7.0 |
Requires: smeserver-clamav >= 2.7.0 |
31 |
Requires: perl-Razor-Agent |
Requires: perl-Razor-Agent |
32 |
|
Requires: DCC |
33 |
Requires: pyzor |
Requires: pyzor |
34 |
Obsoletes: FuzzyOcr |
Obsoletes: FuzzyOcr |
35 |
Obsoletes: e-smith-spamassassin |
Obsoletes: e-smith-spamassassin |
42 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-5.sme |
46 |
|
- fix spamd unable to load [SME: 11361] |
47 |
|
|
48 |
|
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-4.sme |
49 |
|
- add requires DCC as we have built it [SME: 11065] |
50 |
|
|
51 |
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-3.sme |
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.7.0-3.sme |
52 |
- fix smeserver-spamassassin-update event fix [SME: 11166] |
- fix smeserver-spamassassin-update event fix [SME: 11166] |
53 |
|
|
460 |
%setup |
%setup |
461 |
%patch0 -p1 |
%patch0 -p1 |
462 |
|
|
463 |
|
rm -rf root/etc/e-smith/templates/usr/ |
464 |
|
rm -rf root//usr/lib/systemd/system/spamd.service.d |
465 |
|
|
466 |
%build |
%build |
467 |
perl createlinks |
perl createlinks |
468 |
|
|
503 |
fi |
fi |
504 |
fi |
fi |
505 |
|
|
506 |
|
rm -rf /usr/lib/systemd/system/spamd.service.d 2>/dev/null || true |
507 |
|
|
508 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
509 |
%defattr(-,root,root) |
%defattr(-,root,root) |