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