diff --git a/SOURCES/pykde4-4.10.5-remove-env-shebang.patch b/SOURCES/pykde4-4.10.5-remove-env-shebang.patch new file mode 100644 index 0000000..0ec0f36 --- /dev/null +++ b/SOURCES/pykde4-4.10.5-remove-env-shebang.patch @@ -0,0 +1,10 @@ +Pouze v pykde4-4.10.5_fixed/: pykde4-4.10.5-remove-shebang.patch +diff -upr pykde4-4.10.5/tools/pykdeuic4/pykdeuic4.py pykde4-4.10.5_fixed/tools/pykdeuic4/pykdeuic4.py +--- pykde4-4.10.5/tools/pykdeuic4/pykdeuic4.py 2013-06-28 19:16:04.088513863 +0200 ++++ pykde4-4.10.5_fixed/tools/pykdeuic4/pykdeuic4.py 2014-01-13 11:21:27.898409501 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + # + # Copyright (C) 2007-9 Simon Edwards + # Copyright (C) 2011 Luca Beltrame diff --git a/SPECS/pykde4.spec b/SPECS/pykde4.spec index d9610d5..eda0480 100644 --- a/SPECS/pykde4.spec +++ b/SPECS/pykde4.spec @@ -11,7 +11,7 @@ Name: pykde4 Version: 4.10.5 -Release: 1%{?dist} +Release: 4%{?dist} Summary: Python bindings for KDE4 # http://techbase.kde.org/Policies/Licensing_Policy @@ -29,6 +29,8 @@ Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar # hard-codes sip path to /usr/share/sip, instead of respecting system path Patch1: 0001-Ensure-SIP-files-are-installed-to-the-right-path-bas.patch +Patch2: pykde4-4.10.5-remove-env-shebang.patch + ## upstreamable patches ## upstream patches @@ -156,6 +158,7 @@ Provides: python3-PyKDE4-devel%{?_isa} = %{version}-%{release} %setup -q -n pykde4-%{version} %patch1 -p1 -R -b .use_system_sip_dir +%patch2 -p1 -b .remove-env-shebang %patch200 -p1 -b .respect_sip_flags %patch201 -p1 -b .kpythonpluginfactory_slots @@ -268,6 +271,15 @@ mv %{buildroot}%{_kde4_appsdir}/pykde4/examples/ %{buildroot}%{_docdir}/pykde4/ %changelog +* Fri Jan 24 2014 Daniel Mach - 4.10.5-4 +- Mass rebuild 2014-01-24 + +* Mon Jan 13 2014 Jan Grulich - 4.10.5-3 +- Do not use shebang with env (#987037) + +* Fri Dec 27 2013 Daniel Mach - 4.10.5-2 +- Mass rebuild 2013-12-27 + * Sun Jun 30 2013 Than Ngo - 4.10.5-1 - 4.10.5