diff --git python-pymilter/python-pymilter.spec python-pymilter/python-pymilter.spec.tmp index 0cf522119d..b91d02e391 100644 --- python-pymilter/python-pymilter.spec +++ python-pymilter/python-pymilter.spec.tmp @@ -4,24 +4,32 @@ Summary: Python interface to sendmail milter API Name: python-pymilter Version: 1.0 -Release: 7%{?dist} +Release: 8%{?dist} Source: http://downloads.sourceforge.net/pymilter/pymilter-%{version}.tar.gz Source1: tmpfiles-python-pymilter.conf License: GPLv2+ Group: Development/Libraries Url: http://www.bmsi.com/python/milter.html # python-2.6.4 gets RuntimeError: not holding the import lock -Requires: python >= 2.6.5 # Need python2.6 specific pydns, not the version for system python -Requires: python-pydns BuildRequires: python2-devel, sendmail-devel >= 8.13 -%description -This is a python extension module to enable python scripts to -attach to sendmail's libmilter functionality. Additional python -modules provide for navigating and modifying MIME parts, sending +%global _description\ +This is a python extension module to enable python scripts to\ +attach to sendmail's libmilter functionality. Additional python\ +modules provide for navigating and modifying MIME parts, sending\ DSNs, and doing CBV. +%description %_description + +%package -n python2-pymilter +Summary: %summary +Requires: python-pydns +Requires: python >= 2.6.5 +%{?python_provide:%python_provide python2-pymilter} + +%description -n python2-pymilter %_description + %prep %setup -q -n pymilter-%{version} @@ -37,7 +45,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf -%files +%files -n python2-pymilter %doc README COPYING ChangeLog NEWS TODO CREDITS sample.py milter-template.py %{python_sitearch}/* %{_libdir}/pymilter @@ -46,6 +54,10 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf %{_prefix}/lib/tmpfiles.d/%{name}.conf %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.0-8 +- Python 2 binary package renamed to python2-pymilter + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild