diff --git python-gstreamer1/python-gstreamer1.spec python-gstreamer1/python-gstreamer1.spec.tmp index cd5d537e83..56f4535aba 100644 --- python-gstreamer1/python-gstreamer1.spec +++ python-gstreamer1/python-gstreamer1.spec.tmp @@ -6,7 +6,7 @@ Name: python-gstreamer1 Version: 1.12.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for GStreamer Group: Development/Languages @@ -14,9 +14,6 @@ License: LGPLv2+ URL: http://gstreamer.freedesktop.org/ Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.xz -Requires: pygobject3%{?_isa} -Requires: gstreamer1%{?_isa} >= %{gstreamer1_version} - BuildRequires: python2-devel >= 2.7 %if 0%{?with_python3} BuildRequires: python3-devel @@ -27,12 +24,22 @@ BuildRequires: pygobject3-devel # For the benefit of people migrating from the GStreamer-0.10 package, # which was called gstreamer-python -Provides: gstreamer1-python -%description -This module contains PyGObject overrides to make it easier to write +%global _description\ +This module contains PyGObject overrides to make it easier to write\ applications that use GStreamer 1.x in Python. +%description %_description + +%package -n python2-gstreamer1 +Summary: %summary +Requires: pygobject3%{?_isa} +Requires: gstreamer1%{?_isa} >= %{gstreamer1_version} +Provides: gstreamer1-python +%{?python_provide:%python_provide python2-gstreamer1} + +%description -n python2-gstreamer1 %_description + %if 0%{?with_python3} %package -n python3-gstreamer1 Summary: Python bindings for GStreamer @@ -78,7 +85,7 @@ popd find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' -%files +%files -n python2-gstreamer1 %license COPYING %doc AUTHORS ChangeLog NEWS README %{python2_sitearch}/gi/overrides/* @@ -94,6 +101,10 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.12.2-4 +- Python 2 binary package renamed to python2-gstreamer1 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.12.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild