diff --git weasyprint/weasyprint.spec weasyprint/weasyprint.spec.tmp index 2b7e321887..f99c0e1e71 100644 --- weasyprint/weasyprint.spec +++ weasyprint/weasyprint.spec.tmp @@ -6,7 +6,7 @@ Name: weasyprint Version: 0.22 -Release: 8%{?dist} +Release: 9%{?dist} Group: Applications/File Summary: Utility to render HTML and CSS to PDF License: BSD @@ -27,7 +27,8 @@ BuildRequires: python3-devel python3-setuptools WeasyPrint can render HTML and CSS to PDF. It aims to support web standards for printing. -%package -n python-weasyprint +%package -n python2-weasyprint +%{?python_provide:%python_provide python2-weasyprint} Group: Development/Libraries Summary: Python library to render HTML and CSS to PDF Requires: python-tinycss python-cssselect python-pyphen @@ -44,7 +45,7 @@ Requires: dejavu-sans-fonts Requires: dejavu-sans-mono-fonts Requires: dejavu-serif-fonts -%description -n python-weasyprint +%description -n python2-weasyprint The WeasyPrint Python library is a rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. @@ -108,7 +109,7 @@ popd %doc AUTHORS LICENSE README %{_bindir}/weasyprint -%files -n python-weasyprint +%files -n python2-weasyprint %doc AUTHORS CHANGES LICENSE README %{python_sitelib}/* @@ -119,6 +120,10 @@ popd %endif # with_python3 %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.22-9 +- Python 2 binary package renamed to python2-weasyprint + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild