Use Python 3 for the RPM Python byte compilation

This commit is contained in:
Miro Hrončok 2016-08-16 13:40:19 +02:00
parent bd79cc7078
commit 95c4ff00c9

View File

@ -1,10 +1,13 @@
%global _changelog_trimtime %(date +%s -d "1 year ago")
# See https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
%global __python %{__python3}
Summary: A library of handy utility functions
Name: glib2
# git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637
Version: 2.49.4
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtk.org
@ -208,8 +211,10 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
%{_mandir}/man1/gdbus-codegen.1*
%{_mandir}/man1/glib-compile-resources.1*
%{_mandir}/man1/gresource.1*
%{_datadir}/gdb/auto-load%{_libdir}/libglib-2.0.so.*-gdb.py*
%{_datadir}/gdb/auto-load%{_libdir}/libgobject-2.0.so.*-gdb.py*
%{_datadir}/gdb/auto-load%{_libdir}/libglib-2.0.so.*-gdb.py
%{_datadir}/gdb/auto-load%{_libdir}/libgobject-2.0.so.*-gdb.py
# Let's own the directory, as it was not there
%{_datadir}/gdb/auto-load%{_libdir}/__pycache__
%{_datadir}/gettext/
%{_datadir}/systemtap/tapset/*.stp
@ -231,6 +236,9 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
%{_datadir}/installed-tests
%changelog
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 2.49.4-3
- Use Python 3 for the RPM Python byte compilation
* Wed Jul 27 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.49.4-2
- Switch to Python 3 (#1286284)