From 7c5899b0cd64814c93fab8bb9ec0af1b51fe07a7 Mon Sep 17 00:00:00 2001 From: Stuart Gathman <stuart@gathman.org> Date: Sat, 5 Mar 2011 03:07:39 +0000 Subject: [PATCH] Release 1.0 --- pymilter.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pymilter.spec b/pymilter.spec index ed10891..0388559 100644 --- a/pymilter.spec +++ b/pymilter.spec @@ -2,10 +2,10 @@ %define libdir %{_libdir}/pymilter %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define pythonbase %(basename %{__python}) +%define pythonbase python26 Summary: Python interface to sendmail milter API -Name: pymilter +Name: %{pythonbase}-pymilter Version: 0.9.4 Release: 1%{dist} Source: http://downloads.sourceforge.net/pymilter/%{name}-%{version}.tar.gz @@ -13,11 +13,11 @@ License: GPLv2+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Url: http://www.bmsi.com/python/milter.html -Requires: %{pythonbase} >= 2.4, sendmail >= 8.13 +Requires: %{pythonbase}, sendmail >= 8.13 # Need python2.4 specific pydns, not the version for system python -Requires: pydns +Requires: %{pythonbase}-pydns # Needed for callbacks, not a core function but highly useful for milters -BuildRequires: ed, %{pythonbase}-devel >= 2.4, sendmail-devel >= 8.13 +BuildRequires: ed, %{pythonbase}-devel, sendmail-devel >= 8.13 %description This is a python extension module to enable python scripts to -- GitLab