[python-pyspf/el6] update to latest upstream, modernize spec
Adam Williamson
adamwill at fedoraproject.org
Wed Aug 7 21:59:05 UTC 2013
commit 6f32e9195ebc360a897b53ea3340e58001e3429b
Author: Adam Williamson <awilliam at redhat.com>
Date: Wed Aug 7 14:58:46 2013 -0700
update to latest upstream, modernize spec
.gitignore | 1 +
python-pyspf.spec | 16 +++++++---------
sources | 2 +-
3 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1b453a7..c9242d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
pyspf-2.0.5.tar.gz
+/pyspf-2.0.8.tar.gz
diff --git a/python-pyspf.spec b/python-pyspf.spec
index 57e3fc5..e459642 100644
--- a/python-pyspf.spec
+++ b/python-pyspf.spec
@@ -1,8 +1,8 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%global namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
Name: python-pyspf
-Version: 2.0.5
-Release: 4%{?dist}
+Version: 2.0.8
+Release: 1%{?dist}
Summary: Python module and programs for SPF (Sender Policy Framework)
Group: Development/Languages
@@ -24,7 +24,7 @@ This SPF client is intended to be installed on the border MTA, checking
if incoming SMTP clients are permitted to forward mail. The SPF check
should be done during the MAIL FROM:<...> command.
-%define namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
+
%prep
%setup -q -n %{namewithoutpythonprefix}-%{version}
@@ -39,11 +39,6 @@ rm -rf $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_bindir}/type99.py $RPM_BUILD_ROOT%{_bindir}/type99
mv $RPM_BUILD_ROOT%{_bindir}/spfquery.py $RPM_BUILD_ROOT%{_bindir}/spfquery
rm -f $RPM_BUILD_ROOT%{_bindir}/*.py{o,c}
-sed -i -e 's|^#!/usr/bin/env python$||' $RPM_BUILD_ROOT/%{python_sitelib}/spf.py
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
%files
@@ -55,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/pyspf-%{version}-py*.egg-info
%changelog
+* Wed Aug 07 2013 Adam Williamson <awilliam at redhat.com> - 2.0.8-1
+- update to latest upstream, modernize spec
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
diff --git a/sources b/sources
index f69f3f3..818e96c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e3f53362e3ad52ec8a496445085a34f pyspf-2.0.5.tar.gz
+8ef1a5714939d6df5ab40006ac8930ac pyspf-2.0.8.tar.gz
More information about the scm-commits
mailing list