Drop PolicyKit from pc files, too

This commit is contained in:
Matthias Clasen 2009-07-27 05:18:23 +00:00
parent 36ac15b9dc
commit ff62aa2c88
2 changed files with 29 additions and 1 deletions

22
drop-polkit.patch Normal file
View File

@ -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

View File

@ -12,7 +12,7 @@
Summary: Disk management application Summary: Disk management application
Name: gnome-disk-utility Name: gnome-disk-utility
Version: 0.4 Version: 0.4
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://git.gnome.org/cgit/gnome-disk-utility URL: http://git.gnome.org/cgit/gnome-disk-utility
@ -38,6 +38,8 @@ Requires: %{name}-libs = %{version}-%{release}
Obsoletes: gnome-disk-utility-format Obsoletes: gnome-disk-utility-format
Obsoletes: nautilus-gdu Obsoletes: nautilus-gdu
Patch0: drop-polkit.patch
%description %description
This package contains the Palimpsest disk management application. This package contains the Palimpsest disk management application.
Palimpsest supports partitioning, file system creation, encryption, Palimpsest supports partitioning, file system creation, encryption,
@ -92,6 +94,7 @@ develop applications with gnome-disk-utility-ui-libs.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .drop-polkit
%build %build
%configure %configure
@ -208,6 +211,9 @@ fi
%{_includedir}/gnome-disk-utility/gdu-gtk/* %{_includedir}/gnome-disk-utility/gdu-gtk/*
%changelog %changelog
* Mon Jul 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.4-3%{?dist}
- Drop PolicyKit from .pc files, too
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild