diff --git notify-python/notify-python.spec notify-python/notify-python.spec.tmp index b0c660c3ab..6f4cc307a9 100644 --- notify-python/notify-python.spec +++ notify-python/notify-python.spec.tmp @@ -2,7 +2,7 @@ Name: notify-python Version: 0.1.1 -Release: 34%{?dist} +Release: 35%{?dist} Summary: Python bindings for libnotify Group: Development/Languages @@ -19,15 +19,24 @@ BuildRequires: pygtk2-devel BuildRequires: gtk2-devel, dbus-devel, dbus-glib-devel BuildRequires: autoconf -Requires: libnotify >= 0.4.3 -Requires: desktop-notification-daemon -Requires: pygtk2 - %global pypkgname pynotify -%description +%global _description\ Python bindings for libnotify +%description %_description + +%package -n python2-notify +Summary: %summary +Requires: pygtk2 +Requires: desktop-notification-daemon +Requires: libnotify >= 0.4.3 +%{?python_provide:%python_provide python2-notify} +# Remove before F30 +Provides: notify-python = %{version}-%{release} + +%description -n python2-notify %_description + %prep %setup -q %patch0 -p1 -b .fix-GTK-symbols @@ -56,7 +65,7 @@ install -m 0644 -t examples tests/*.py tests/*.png %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-notify %defattr(-,root,root,-) %doc COPYING AUTHORS NEWS ChangeLog %doc examples @@ -65,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.1.1-35 +- Python 2 binary package renamed to python2-notify + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.1.1-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild