From 070a900d8b1a0ae18c985ec7939978e4fc0fe86d Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: May 03 2016 09:13:56 +0000 Subject: Switch to Python 3 https://bugzilla.redhat.com/show_bug.cgi?id=1314029 --- diff --git a/d-feet.spec b/d-feet.spec index e616d12..c708e4e 100644 --- a/d-feet.spec +++ b/d-feet.spec @@ -1,3 +1,5 @@ +%global __python %{__python3} + Name: d-feet Version: 0.3.11 Release: 1%{?dist} @@ -17,10 +19,11 @@ BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: itstool +BuildRequires: python3-devel BuildRequires: python-pep8 BuildRequires: libappstream-glib Requires: libwnck3 -Requires: pygobject3 +Requires: python3-gobject %description D-Feet is an easy to use D-Bus debugger. @@ -33,6 +36,7 @@ D-Bus objects of running programs and invoke methods on those objects. %patch0 -p1 -b .keywords %build +export PYTHON=%{__python3} %configure make %{?_smp_mflags} @@ -71,7 +75,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f d-feet.lang %license COPYING %doc AUTHORS README NEWS -%{python_sitelib}/dfeet/ +%{python3_sitelib}/dfeet/ %{_bindir}/d-feet %{_datadir}/appdata/d-feet.appdata.xml %{_datadir}/applications/d-feet.desktop @@ -86,6 +90,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Update to 0.3.11 - Use make_install macro - Use license macro for COPYING +- Switch to Python 3 (#1314029) * Wed Feb 03 2016 Fedora Release Engineering - 0.3.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild