diff --git a/gget-0.0.4-remove-python-version.patch b/gget-0.0.4-remove-python-version.patch new file mode 100644 index 0000000..af4d5e2 --- /dev/null +++ b/gget-0.0.4-remove-python-version.patch @@ -0,0 +1,9 @@ +diff -up gget-0.0.4/bin/gget.in.remove-python-version gget-0.0.4/bin/gget.in +--- gget-0.0.4/bin/gget.in.remove-python-version 2011-06-01 12:40:29.303308003 -0400 ++++ gget-0.0.4/bin/gget.in 2011-06-01 12:40:38.159307997 -0400 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python2.5 ++#!/usr/bin/env python + # -*- coding: utf-8 -*- + + # Copyright (C) 2008 Johan Svedberg diff --git a/gget.spec b/gget.spec index b407d3e..7ef04bb 100644 --- a/gget.spec +++ b/gget.spec @@ -5,7 +5,7 @@ Name: gget Version: 0.0.4 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Download Manager for the GNOME desktop Group: Applications/Internet License: GPLv2+ @@ -14,6 +14,7 @@ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gget/0.0/%{name}-%{version # Detects Epiphany 2.26/2.25 for rawhide # http://bugzilla.gnome.org/show_bug.cgi?id=572602 Patch0: gget-0.0.4-epiphany.patch +Patch1: gget-0.0.4-remove-python-version.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pygtk2-devel >= 2.10.0 BuildRequires: pygobject2-devel >= 2.12.0 @@ -41,6 +42,9 @@ and Metalink downloads. %setup -q %patch0 -p1 -b .epiphany +# Fix rhbz#702159 (hardcoded "python2.5" in shebang): +%patch1 -p1 -b .remove-python-version + %build # There is no python support in epiphany >= 2.27 # Read http://live.gnome.org/TwoPointTwentyseven/ReleaseNotes @@ -104,6 +108,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %{_bindir}/%{name} %changelog +* Wed Jun 1 2011 David Malcolm - 0.0.4-15 +- fix hardcoded python2.5 in /usr/bin/gget's shebang (rhbz#702159) + * Tue Feb 08 2011 Fedora Release Engineering - 0.0.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild