automatic version update by autodist [release 2.0.2-1mamba;Tue Dec 07 2021]
This commit is contained in:
parent
c8d7046da9
commit
99d62e9551
@ -1,7 +1,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: pypolicyd-spf
|
Name: pypolicyd-spf
|
||||||
Version: 1.3.2
|
Version: 2.0.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A Postfix policy engine for Sender Policy Framework (SPF) checking
|
Summary: A Postfix policy engine for Sender Policy Framework (SPF) checking
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -12,13 +12,10 @@ Source: https://launchpad.net/pypolicyd-spf/%{majver}/%{version}/+downloa
|
|||||||
Patch0: pypolicy-spf-1.3.2-python2.patch
|
Patch0: pypolicy-spf-1.3.2-python2.patch
|
||||||
License: GPL, Apache License 2.0
|
License: GPL, Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3dist(pyspf)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
Requires: python3dist(pyspf)
|
||||||
Requires: pyspf
|
|
||||||
Requires: python-ipaddress
|
|
||||||
Requires: python-ipaddr
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pypolicyd-spf is a Postfix policy engine for Sender Policy Framework (SPF) checking.
|
pypolicyd-spf is a Postfix policy engine for Sender Policy Framework (SPF) checking.
|
||||||
@ -26,27 +23,31 @@ It is implemented in pure Python and uses the python-spf (pyspf) module. Updated
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python3} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python3_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/python-policyd-spf/policyd-spf.conf
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 07 2021 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Mar 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-2mamba
|
* Wed Mar 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-2mamba
|
||||||
- require python-ipaddr
|
- require python-ipaddr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user