From 6172cb2796f310229dde6c966f652e88376bc913 Mon Sep 17 00:00:00 2001 From: Bojan Smojver bojan@rexursive.com Date: Tue, 29 Nov 2016 11:13:54 +1100 Subject: Use py3 macros to build/install. Update release version/changelog.
--- pypolicyd-spf.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/pypolicyd-spf.spec b/pypolicyd-spf.spec index e86cddf..3c6f0cb 100644 --- a/pypolicyd-spf.spec +++ b/pypolicyd-spf.spec @@ -1,6 +1,6 @@ Name: pypolicyd-spf Version: 1.3.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: SPF Policy Server for Postfix (Python implementation)
License: ASL 2.0 @@ -28,12 +28,12 @@ range of requirements.
%build -%{__python} setup.py build +%py3_build
%install %{__rm} -rf $RPM_BUILD_ROOT -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%py3_install # We want the binary in Postfix libexec directory %{__mkdir_p} $RPM_BUILD_ROOT%{_libexecdir}/postfix %{__mv} $RPM_BUILD_ROOT%{_bindir}/policyd-spf $RPM_BUILD_ROOT%{_libexecdir}/postfix @@ -52,6 +52,9 @@ range of requirements.
%changelog +* Tue Nov 29 2016 Bojan Smojver bojan@rexursive.com 1.3.2-4 +- try building with and for python3 + * Tue Jul 19 2016 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.3.2-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Pac...
scm-commits@lists.fedoraproject.org