summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Gołaszewski2005-09-05 13:23:22 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit625033af8d0841df447c9434e370a58068454b1a (patch)
treea146fda70b123b5bb565d3aa571018ea152e691b
parent9bb523d0dff7fb81dbb6d8bb91182e11fcce5fc0 (diff)
downloadpostgrey-625033af8d0841df447c9434e370a58068454b1a.zip
postgrey-625033af8d0841df447c9434e370a58068454b1a.tar.gz
- autogenerate deps, postfix_dir patch added
Changed files: postgrey.spec -> 1.4
-rw-r--r--postgrey.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/postgrey.spec b/postgrey.spec
index a59504d..3b4f063 100644
--- a/postgrey.spec
+++ b/postgrey.spec
@@ -1,20 +1,23 @@
+%include /usr/lib/rpm/macros.perl
Summary: Postfix Greylisting Policy Server
Name: postgrey
Version: 1.21
-Release: 0.2
+Release: 0.4
License: GPL v2
Group: Daemons
Source0: http://isg.ee.ethz.ch/tools/postgrey/pub/%{name}-%{version}.tar.gz
# Source0-md5: 1274e073be5178445e0892a9dcc6fe98
Source1: %{name}.init
-Patch: %{name}-group.patch
+Patch0: %{name}-group.patch
+Patch1: %{name}-postfix_dir.patch
URL: http://isg.ee.ethz.ch/tools/postgrey/
Buildarch: noarch
+BuildRequires: rpm-perlprov
Requires: postfix
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define confdir /etc/postfix
+%define confdir /etc/mail
%description
Postgrey is a Postfix policy server implementing greylisting.
@@ -38,7 +41,8 @@ or if you like to use inet sockets (modify the IP if needed):
%prep
%setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT