diff --git python-meliae/python-meliae.spec python-meliae/python-meliae.spec.tmp index f9edc10533..653e85f0fa 100644 --- python-meliae/python-meliae.spec +++ python-meliae/python-meliae.spec.tmp @@ -2,7 +2,7 @@ Name: python-meliae Version: 0.4.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python memory usage statistics Group: Development/Languages @@ -15,12 +15,20 @@ BuildRequires: python-devel BuildRequires: Cython BuildRequires: python-simplejson -%description -"meliae" provides a way to dump python memory usage information to a JSON disk -format, which can then be parsed into useful things like graph representations. - +%global _description\ +"meliae" provides a way to dump python memory usage information to a JSON disk\ +format, which can then be parsed into useful things like graph representations.\ +\ The name is simply a fun word (means Ash-wood Nymph). +%description %_description + +%package -n python2-meliae +Summary: %summary +%{?python_provide:%python_provide python2-meliae} + +%description -n python2-meliae %_description + %prep %setup -q -n meliae-%{version} @@ -46,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT cp $RPM_BUILD_ROOT/%{python_sitearch}/meliae/*.so meliae %{__python} run_tests.py --verbose -%files +%files -n python2-meliae %defattr(-,root,root,-) %doc CHANGES.txt COPYING.txt README.txt TODO.txt %{_bindir}/strip_duplicates.py @@ -55,6 +63,10 @@ cp $RPM_BUILD_ROOT/%{python_sitearch}/meliae/*.so meliae %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.4.0-14 +- Python 2 binary package renamed to python2-meliae + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.4.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild