diff --git gstreamer-python/gstreamer-python.spec gstreamer-python/gstreamer-python.spec.tmp index 83fb9ed93b..0d402ad0b7 100644 --- gstreamer-python/gstreamer-python.spec +++ gstreamer-python/gstreamer-python.spec.tmp @@ -2,7 +2,7 @@ Name: gstreamer-python Version: 0.10.22 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Python bindings for GStreamer Group: Development/Languages @@ -12,12 +12,6 @@ Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{ver #Patch0: gst-python-0.10.15-strayline.patch Patch1: 0001-preset-expose-new-gst.preset_-set-get-_app_dir-on-py.patch -Requires: python >= 2.3 -Requires: pygtk2 >= 2.8.0 -Requires: python-libxml2 -Requires: gstreamer >= 0.10.36 -Requires: gstreamer-plugins-base >= 0.10.36 - BuildRequires: python >= 2.3 BuildRequires: python-devel >= 2.3 BuildRequires: pygtk2-devel >= 2.8.0 @@ -28,11 +22,27 @@ BuildRequires: gstreamer-plugins-base-devel >= 0.10.36 BuildRequires: pygobject2-devel >= 2.11.2 -%description -This module contains a wrapper that allows GStreamer applications -to be written in Python. +%global _description\ +This module contains a wrapper that allows GStreamer applications\ +to be written in Python.\ +%description %_description + +%package -n python2-gstreamer +Summary: %summary +Requires: python >= 2.3 +Requires: pygtk2 >= 2.8.0 +Requires: python-libxml2 +Requires: gstreamer >= 0.10.36 +Requires: gstreamer-plugins-base >= 0.10.36 +%{?python_provide:%python_provide python2-gstreamer} +# Remove before F30 +Provides: gstreamer-python%{?_isa} = %{version}-%{release} +Obsoletes: gstreamer-python < %{version}-%{release} + +%description -n python2-gstreamer %_description + %package devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries @@ -69,7 +79,7 @@ cp examples/*.py docs-to-include/examples/ rm -fr $RPM_BUILD_ROOT%{_datadir}/gst-python/%{majorminor}/examples -%files +%files -n python2-gstreamer %doc AUTHORS COPYING ChangeLog NEWS README %{_libdir}/python?.?/site-packages/gst-%{majorminor} %{_libdir}/python?.?/site-packages/pygst.py* @@ -89,6 +99,10 @@ rm -fr $RPM_BUILD_ROOT%{_datadir}/gst-python/%{majorminor}/examples %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.10.22-15 +- Python 2 binary package renamed to python2-gstreamer + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 0.10.22-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild