diff --git python-martian/python-martian.spec python-martian/python-martian.spec.tmp index d3dadc8afc..abcd934d10 100644 --- python-martian/python-martian.spec +++ python-martian/python-martian.spec.tmp @@ -1,7 +1,7 @@ %global pkgname martian Name: python-martian Version: 0.14 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A library to grok configuration from Python code Group: Development/Libraries License: ZPLv2.1 @@ -11,14 +11,22 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-zope-interface BuildRequires: python-setuptools -Requires: python-zope-interface -%description -A library that allows the embedding of configuration information in -Python code. Martian can then grok the system and do the appropriate -configuration registrations. One example of a system that uses Martian +%global _description\ +A library that allows the embedding of configuration information in\ +Python code. Martian can then grok the system and do the appropriate\ +configuration registrations. One example of a system that uses Martian\ is the system where it originated: Grok +%description %_description + +%package -n python2-martian +Summary: %summary +Requires: python-zope-interface +%{?python_provide:%python_provide python2-martian} + +%description -n python2-martian %_description + %prep %setup -q -n %{pkgname}-%{version} rm -rf %{pkgname}.egg-info @@ -36,12 +44,16 @@ rm -rf %{pkgname}.egg-info # from martian.testing import FakeModule #ImportError: No module named martian.testing -%files +%files -n python2-martian %doc CHANGES.txt COPYRIGHT.txt CREDITS.txt LICENSE.txt README.txt PKG-INFO %{python_sitelib}/%{pkgname} %{python_sitelib}/%{pkgname}-*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.14-9 +- Python 2 binary package renamed to python2-martian + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.14-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild