diff --git python-sexy/python-sexy.spec python-sexy/python-sexy.spec.tmp old mode 100755 new mode 100644 index ecaf39f7c6..e5086197a1 --- python-sexy/python-sexy.spec +++ python-sexy/python-sexy.spec.tmp @@ -2,7 +2,7 @@ %define real_name sexy-python Name: python-sexy Version: 0.1.9 -Release: 26%{?dist} +Release: 27%{?dist} Summary: Python bindings to libsexy @@ -17,11 +17,19 @@ BuildRequires: libsexy-devel >= 0.1.10 BuildRequires: python-devel >= 2 BuildRequires: pygtk2-devel >= 2.8.0 BuildRequires: libxml2-devel -Requires: libsexy >= 0.1.10 -%description -sexy-python is a set of Python bindings around libsexy. +%global _description\ +sexy-python is a set of Python bindings around libsexy.\ + + +%description %_description +%package -n python2-sexy +Summary: %summary +Requires: libsexy >= 0.1.10 +%{?python_provide:%python_provide python2-sexy} + +%description -n python2-sexy %_description %prep %setup -q -n %{real_name}-%{version} @@ -43,7 +51,7 @@ rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-sexy %defattr(-, root, root, -) %doc AUTHORS COPYING ChangeLog NEWS README %{python_sitearch}/gtk-2.0/sexy.so @@ -51,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.9-27 +- Python 2 binary package renamed to python2-sexy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.1.9-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild