diff --git a/milter.spec b/milter.spec index 1f59d91..546f3d0 100644 --- a/milter.spec +++ b/milter.spec @@ -1,6 +1,6 @@ %define name milter %define version 0.8.5 -%define release 2.RH7 +%define release 1.RH7 # what version of RH are we building for? %define redhat9 0 %define redhat7 1 @@ -31,7 +31,7 @@ Name: %{name} Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.gz -Patch: %{name}-%{version}.patch +#Patch: %{name}-%{version}.patch Copyright: GPL Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot @@ -39,11 +39,11 @@ Prefix: %{_prefix} Vendor: Stuart D. Gathman Packager: Stuart D. Gathman Url: http://www.bmsi.com/python/milter.html -Requires: %{python} >= 2.4, sendmail >= 8.12.10 +Requires: %{python} >= 2.4, sendmail >= 8.13 %ifos Linux Requires: chkconfig %endif -BuildRequires: %{python}-devel , sendmail-devel >= 8.12.10 +BuildRequires: %{python}-devel , sendmail-devel >= 8.13 %description This is a python extension module to enable python scripts to @@ -52,7 +52,7 @@ modules provide for navigating and modifying MIME parts. %prep %setup -%patch -p0 -b .bms +#%patch -p0 -b .bms %build if %{redhat9}; then diff --git a/setup.py b/setup.py index 2e8000f..65661cc 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ querying SPF records. ext_modules=[ Extension("milter", ["miltermodule.c"], libraries=libs, + # set MAX_ML_REPLY to 1 for sendmail < 8.13 define_macros = [ ('MAX_ML_REPLY',32) ] ), ],