diff --git notify-python/notify-python.spec notify-python/notify-python.spec.tmp index b0c660c3ab..19ae34470a 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,14 +19,24 @@ BuildRequires: pygtk2-devel BuildRequires: gtk2-devel, dbus-devel, dbus-glib-devel BuildRequires: autoconf +%global pypkgname pynotify + +%global _description\ +Python bindings for libnotify + +%description %_description + +%package -n python2-notify +Summary: %summary Requires: libnotify >= 0.4.3 Requires: desktop-notification-daemon Requires: pygtk2 +%{?python_provide:%python_provide python2-notify} +# Remove before F30 +Provides: notify-python%{?_isa} = %{version}-%{release} +Obsoletes: notify-python < %{version}-%{release} -%global pypkgname pynotify - -%description -Python bindings for libnotify +%description -n python2-notify %_description %prep %setup -q @@ -56,7 +66,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 +75,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Sat Aug 12 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