From ff62aa2c885f7717d0382d94af430700d44a8e46 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 27 Jul 2009 05:18:23 +0000 Subject: [PATCH] Drop PolicyKit from pc files, too --- drop-polkit.patch | 22 ++++++++++++++++++++++ gnome-disk-utility.spec | 8 +++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 drop-polkit.patch diff --git a/drop-polkit.patch b/drop-polkit.patch new file mode 100644 index 0000000..aa4e8bf --- /dev/null +++ b/drop-polkit.patch @@ -0,0 +1,22 @@ +diff -up gnome-disk-utility-0.4/src/gdu/gdu.pc.in.drop-polkit gnome-disk-utility-0.4/src/gdu/gdu.pc.in +--- gnome-disk-utility-0.4/src/gdu/gdu.pc.in.drop-polkit 2009-07-27 01:13:07.886996591 -0400 ++++ gnome-disk-utility-0.4/src/gdu/gdu.pc.in 2009-07-27 01:13:19.967999834 -0400 +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: gdu + Description: GObject based Disk Utility Library + Version: @VERSION@ +-Requires: gobject-2.0 gio-2.0 polkit ++Requires: gobject-2.0 gio-2.0 + Libs: -L${libdir} -lgdu + Cflags: -I${includedir}/gnome-disk-utility +diff -up gnome-disk-utility-0.4/src/gdu-gtk/gdu-gtk.pc.in.drop-polkit gnome-disk-utility-0.4/src/gdu-gtk/gdu-gtk.pc.in +--- gnome-disk-utility-0.4/src/gdu-gtk/gdu-gtk.pc.in.drop-polkit 2009-07-27 01:13:39.889005506 -0400 ++++ gnome-disk-utility-0.4/src/gdu-gtk/gdu-gtk.pc.in 2009-07-27 01:13:48.500002504 -0400 +@@ -6,6 +6,6 @@ includedir=@includedir@ + Name: gdu-gtk + Description: GTK+ library for libgdu + Version: @VERSION@ +-Requires: gdu polkit-gnome gtk+-2.0 ++Requires: gdu gtk+-2.0 + Libs: -L${libdir} -lgdu-gtk + Cflags: -I${includedir}/gnome-disk-utility diff --git a/gnome-disk-utility.spec b/gnome-disk-utility.spec index 937e91f..6b8d2c7 100644 --- a/gnome-disk-utility.spec +++ b/gnome-disk-utility.spec @@ -12,7 +12,7 @@ Summary: Disk management application Name: gnome-disk-utility Version: 0.4 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://git.gnome.org/cgit/gnome-disk-utility @@ -38,6 +38,8 @@ Requires: %{name}-libs = %{version}-%{release} Obsoletes: gnome-disk-utility-format Obsoletes: nautilus-gdu +Patch0: drop-polkit.patch + %description This package contains the Palimpsest disk management application. Palimpsest supports partitioning, file system creation, encryption, @@ -92,6 +94,7 @@ develop applications with gnome-disk-utility-ui-libs. %prep %setup -q +%patch0 -p1 -b .drop-polkit %build %configure @@ -208,6 +211,9 @@ fi %{_includedir}/gnome-disk-utility/gdu-gtk/* %changelog +* Mon Jul 27 2009 Matthias Clasen - 0.4-3%{?dist} +- Drop PolicyKit from .pc files, too + * Fri Jul 24 2009 Fedora Release Engineering - 0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild