X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdovecot-antispam.git;a=blobdiff_plain;f=dovecot-antispam.spec;h=c245d6058caad95ff7cc47a6274648dc9298491f;hp=67636507963550601945384cd76e2d5eabdbb1c0;hb=88d409c1cf6c7f23cac180e00a896949181beb9d;hpb=df126d45100eabb7542105679f80a7e80c76ac94 diff --git a/dovecot-antispam.spec b/dovecot-antispam.spec index 6763650..c245d60 100644 --- a/dovecot-antispam.spec +++ b/dovecot-antispam.spec @@ -2,12 +2,13 @@ Summary: The dovecot antispam plugin Summary(pl.UTF-8): Wtyczka antyspamowa dla dovecota Name: dovecot-antispam Version: 2.0 -Release: 8 +Release: 12.1 License: GPL v2 Group: Daemons Source0: http://johannes.sipsolutions.net/download/dovecot-antispam/%{name}-%{version}.tar.bz2 # Source0-md5: 14547898759fbd93f2b98304520decc6 -Patch0: dovecot-2.1.patch +Patch0: %{name}-git.patch +Patch1: dovecot-2.2.patch URL: http://johannes.sipsolutions.net/Projects/dovecot-antispam BuildRequires: dovecot-devel >= 1:2.0 %requires_eq_to dovecot dovecot-devel @@ -19,14 +20,13 @@ SPAM folder and tells the spam classifier that it made an error and needs to re-classify the message (as spam/not spam depending on which way it was moved). -#%description -l pl.UTF-8 - %prep %setup -q %patch0 -p1 -cp -a antispam-storage-2.0.c antispam-storage-2.1.c +%patch1 -p1 %build +unset GIT_DIR %{__make} \ CFLAGS="%{rpmcflags}" \ LDFLAGS="%{rpmldflags}"