diff --git python-trml2pdf12/python-trml2pdf12.spec python-trml2pdf12/python-trml2pdf12.spec.tmp index 1593ccba3d..98f00058b9 100644 --- python-trml2pdf12/python-trml2pdf12.spec +++ python-trml2pdf12/python-trml2pdf12.spec.tmp @@ -2,9 +2,7 @@ Name: python-trml2pdf12 Version: 1.2 -Release: 19%{?dist} -Provides: python-trml2pdf = %{version}-%{release} -Obsoletes: python-trml2pdf <= 1.2-9 +Release: 20%{?dist} Summary: Tiny RML2PDF is a tool to easily create PDF documents without programming Group: Development/Languages @@ -17,16 +15,26 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-reportlab >= 2.1 # Python-Imaging (PIL) if you use bitmap pictures -Requires: python-imaging -%description -Convert Report Markup Language (RML) files to PDF. +%global _description\ +Convert Report Markup Language (RML) files to PDF.\ +\ +This is a compatibility package for programs which still need version 1.2.\ -This is a compatibility package for programs which still need version 1.2. +%description %_description + +%package -n python2-trml2pdf12 +Summary: %summary +Provides: python-trml2pdf = %{version}-%{release} +Obsoletes: python-trml2pdf <= 1.2-9 +Requires: python-reportlab >= 2.1 +Requires: python-imaging +%{?python_provide:%python_provide python2-trml2pdf12} + +%description -n python2-trml2pdf12 %_description %prep %setup -q -n %{srcname}-%{version} @@ -50,7 +58,7 @@ install -m 755 -d %{buildroot}/%{_bindir} ln -s %{python_sitelib}/TRML2PDF-1.0-py2.7.egg/trml2pdf/trml2pdf.py %{buildroot}%{_bindir}/trml2pdf12 -%files +%files -n python2-trml2pdf12 %doc COPYRIGHT.txt INSTALL.txt LICENSE.txt README.txt %{python_sitelib}/* %{_bindir}/* @@ -58,6 +66,10 @@ ln -s %{python_sitelib}/TRML2PDF-1.0-py2.7.egg/trml2pdf/trml2pdf.py %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2-20 +- Python 2 binary package renamed to python2-trml2pdf12 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild