From 5520a8299654c1b3683d3016acda5b2ad734ed4a Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jul 04 2015 13:11:11 +0000 Subject: Switch to Python 3 --- diff --git a/totem.spec b/totem.spec index 52db048..40295f0 100644 --- a/totem.spec +++ b/totem.spec @@ -1,7 +1,10 @@ +# Byte compile python plugins with python3 +%global __python %{__python3} + Summary: Movie player for GNOME Name: totem Version: 3.16.2 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ with exceptions Group: Applications/Multimedia @@ -11,7 +14,7 @@ Source0: https://download.gnome.org/sources/%{name}/3.16/%{name}-%{version}.tar. Patch0: 0001-downstream-patch-Reduce-gstreamer-version-requiremen.patch # For all the Python plugins -Requires: pygobject3 +Requires: python3-gobject Requires: iso-codes Requires: gstreamer1 @@ -49,7 +52,7 @@ BuildRequires: itstool %if 0%{?fedora} BuildRequires: pylint %endif -BuildRequires: python-devel +BuildRequires: python3-devel BuildRequires: pkgconfig(pygobject-3.0) BuildRequires: vala BuildRequires: /usr/bin/appstream-util @@ -146,6 +149,7 @@ audio and video files in the properties dialog. %patch0 -p1 %build +export PYTHON=%{__python3} %configure \ --enable-nautilus \ --disable-static @@ -254,6 +258,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/gir-1.0/Totem-1.0.gir %changelog +* Sat Jul 04 2015 Kalev Lember - 1:3.16.2-2 +- Switch to Python 3 + * Mon Jun 29 2015 David King - 1:3.16.1-2 - Update to 3.16.2