Switch to Python 3

This commit is contained in:
Ville Skyttä 2015-11-27 20:17:55 +02:00 committed by Miro Hrončok
parent 3988005eba
commit bd79cc7078

View File

@ -4,7 +4,7 @@ Summary: A library of handy utility functions
Name: glib2 Name: glib2
# git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637 # git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637
Version: 2.49.4 Version: 2.49.4
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gtk.org URL: http://www.gtk.org
@ -25,7 +25,7 @@ BuildRequires: systemtap-sdt-devel
# Bootstrap build requirements # Bootstrap build requirements
BuildRequires: automake autoconf libtool BuildRequires: automake autoconf libtool
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: python-devel BuildRequires: python3-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: elfutils-libelf-devel BuildRequires: elfutils-libelf-devel
BuildRequires: chrpath BuildRequires: chrpath
@ -89,7 +89,7 @@ the functionality of the installed glib2 package.
# Support builds of both git snapshots and tarballs packed with autogoo # Support builds of both git snapshots and tarballs packed with autogoo
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
%configure $CONFIGFLAGS \ %configure $CONFIGFLAGS \
--with-python=/usr/bin/python \ --with-python=%{__python3} \
--with-pcre=system \ --with-pcre=system \
--enable-systemtap \ --enable-systemtap \
--enable-static \ --enable-static \
@ -231,6 +231,9 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
%{_datadir}/installed-tests %{_datadir}/installed-tests
%changelog %changelog
* Wed Jul 27 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.49.4-2
- Switch to Python 3 (#1286284)
* Thu Jul 21 2016 Kalev Lember <klember@redhat.com> - 2.49.4-1 * Thu Jul 21 2016 Kalev Lember <klember@redhat.com> - 2.49.4-1
- Update to 2.49.4 - Update to 2.49.4