From 36ca2380a1f357a0070c91305a75a526f43f4041 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 19 Nov 2009 14:31:04 +0000 Subject: [PATCH 1/1] - unbash; rel 2 Changed files: PackageKit.spec -> 1.46 bashism.patch -> 1.1 --- PackageKit.spec | 4 +++- bashism.patch | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 bashism.patch diff --git a/PackageKit.spec b/PackageKit.spec index d31281d..1b7afbb 100644 --- a/PackageKit.spec +++ b/PackageKit.spec @@ -11,12 +11,13 @@ Summary: System daemon that is a D-Bus abstraction layer for package management Summary(pl.UTF-8): Demon systemowy będący warstwą abstrakcji D-Bus do zarządzania pakietami Name: PackageKit Version: 0.5.4 -Release: 1 +Release: 2 License: GPL v2+ Group: Applications/System Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.bz2 # Source0-md5: fe6bb960e11d67af23edd5b7bd758f03 Patch1: %{name}-PLD.patch +Patch2: bashism.patch URL: http://www.packagekit.org/ BuildRequires: NetworkManager-devel >= 0.6.5 %if %{with qt} @@ -241,6 +242,7 @@ Wiązania PackageKit dla Pythona. %prep %setup -q %patch1 -p1 +%patch2 -p1 mkdir m4 %build diff --git a/bashism.patch b/bashism.patch new file mode 100644 index 0000000..9f7ace8 --- /dev/null +++ b/bashism.patch @@ -0,0 +1,8 @@ +--- PackageKit-0.5.4/contrib/pm-utils/95packagekit~ 2009-08-17 16:56:38.000000000 +0300 ++++ PackageKit-0.5.4/contrib/pm-utils/95packagekit 2009-11-19 16:29:52.312297173 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # Copyright (C) 2007-2008 Richard Hughes + # + # Licensed under the GNU General Public License Version 2 -- 2.44.0