[PackageKit] Switch to using python3
Richard Hughes
rhughes at fedoraproject.org
Wed Feb 12 14:44:27 UTC 2014
commit b5c7a18acbc8849df34b2537a0251983be89e729
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Feb 12 14:38:38 2014 +0000
Switch to using python3
PackageKit.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index 1b64f84..7e39bb2 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -3,12 +3,13 @@
%define gitdate 20140130
%define _default_patch_fuzz 2
+%global __python %{__python3}
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Package management service
Name: PackageKit
Version: 0.9.1
-Release: 0.2.20140130%{?dist}
+Release: 0.3.20140130%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.packagekit.org
#Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
@@ -43,7 +44,7 @@ BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
BuildRequires: docbook-utils
BuildRequires: gnome-doc-utils
-BuildRequires: python-devel
+BuildRequires: python3-devel
BuildRequires: perl(XML::Parser)
BuildRequires: intltool
BuildRequires: gettext
@@ -191,6 +192,7 @@ NOCONFIGURE=1 ./autogen.sh
%build
%configure \
--disable-static \
+ --enable-python3 \
%if 0%{?rhel} == 0
--enable-hawkey \
--enable-introspection \
@@ -350,6 +352,9 @@ popd > /dev/null
%changelog
+* Wed Feb 120 2014 Richard Hughes <rhughes at redhat.com> - 0.9.1-0.3.20140130
+- Switch to using python3
+
* Tue Feb 04 2014 Rex Dieter <rdieter at fedoraproject.org> 0.9.1-0.2.20140130
- restore -backend-devel subpkg
More information about the scm-commits
mailing list