diff --git python-inlinestyler/python-inlinestyler.spec python-inlinestyler/python-inlinestyler.spec.tmp index cd7c77e042..b7ff496d8a 100644 --- python-inlinestyler/python-inlinestyler.spec +++ python-inlinestyler/python-inlinestyler.spec.tmp @@ -1,7 +1,7 @@ %global module_name inlinestyler Name: python-%{module_name} Version: 0.1.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Inlines external CSS into HTML elements License: BSD @@ -11,10 +11,17 @@ Source0: https://pypi.python.org/packages/source/i/%{module_name}/%{modul BuildArch: noarch BuildRequires: python2-devel python-setuptools +%global _description\ +inlinestyler is an easy way to locally inline CSS into an HTML email message. + +%description %_description + +%package -n python2-%{module_name} +Summary: %summary Requires: python-cssutils python-lxml +%{?python_provide:%python_provide python2-%{module_name}} -%description -inlinestyler is an easy way to locally inline CSS into an HTML email message. +%description -n python2-%{module_name} %_description %prep %setup -q -n %{module_name}-%{version} @@ -28,13 +35,17 @@ rm -rf %{module_name}.egg-info %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-%{module_name} %doc AUTHORS CHANGELOG LICENSE README.rst %{python2_sitelib}/%{module_name}-%{version}-py?.?.egg-info/ %{python2_sitelib}/%{module_name} %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.1.7-8 +- Python 2 binary package renamed to python2-inlinestyler + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild