From 715f5421dba8aea72999c02111c321df6fa978b1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:39:26 +0100 Subject: [PATCH] update to 2.0.14 [release 2.0.14-1mamba;Tue Dec 07 2021] --- pyspf.spec | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pyspf.spec b/pyspf.spec index b734f68..45e0345 100644 --- a/pyspf.spec +++ b/pyspf.spec @@ -1,25 +1,28 @@ Name: pyspf -Version: 2.0.12 +Version: 2.0.14 Release: 1mamba Summary: SPF (Sender Policy Framework) implemented in Python. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://pypi.python.org/pypi/pyspf/ -Source: https://pypi.python.org/packages/source/p/pyspf/pyspf-%{version}t.tar.gz +URL: https://github.com/sdgathman/pyspf/ +Source: https://pypi.debian.net/pyspf/pyspf-%{version}.tar.gz License: Python Software Foundation License ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3dist(py3dns) ## AUTOBUILDREQ-END -Requires: python-ipaddress -Requires: pydns -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. +%if 0%{?with_pyver} +%define py_requires_append \ +Requires: python%{with_pyver}dist(py3dns) +%pyver_package +%endif + %prep %setup -q @@ -37,10 +40,13 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %changelog +* Tue Dec 07 2021 Silvan Calarco 2.0.14-1mamba +- update to 2.0.14 + * Thu Dec 10 2015 Silvan Calarco 2.0.12-1mamba - update to 2.0.12