Switch to using python3
This commit is contained in:
parent
33e87a6e32
commit
b5c7a18acb
@ -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@redhat.com> - 0.9.1-0.3.20140130
|
||||
- Switch to using python3
|
||||
|
||||
* Tue Feb 04 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.1-0.2.20140130
|
||||
- restore -backend-devel subpkg
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user