From a3effe1d0cd30112015c431c995cc1572a63383d Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 21 Feb 2018 02:52:36 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- pygobject3.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pygobject3.spec b/pygobject3.spec index dd2b696..8e8e7e8 100644 --- a/pygobject3.spec +++ b/pygobject3.spec @@ -13,7 +13,7 @@ Name: pygobject3 Version: 3.27.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for GObject Introspection License: LGPLv2+ and MIT @@ -37,8 +37,8 @@ BuildRequires: cairo-gobject-devel # Temporarily disabled pyflakes tests to avoid the build failing due to too new # pyflakes 0.7.2 in F19 # https://bugzilla.gnome.org/show_bug.cgi?id=701009 -#BuildRequires: pyflakes -BuildRequires: python-pep8 +#BuildRequires: python2-pyflakes +BuildRequires: python2-pep8 %endif ## for the Gdk and Gtk typelibs, used during the test suite: BuildRequires: gtk3 @@ -108,7 +108,7 @@ library. %package devel Summary: Development files for embedding PyGObject introspection support -Requires: python-gobject%{?_isa} = %{version}-%{release} +Requires: python2-gobject%{?_isa} = %{version}-%{release} %if 0%{?with_python3} Requires: python3-gobject%{?_isa} = %{version}-%{release} %endif @@ -219,6 +219,10 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1 %{_libdir}/pkgconfig/pygobject-3.0.pc %changelog +* Wed Feb 21 2018 Iryna Shcherbina - 3.27.1-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 3.27.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild