Drop libpolkit-backend dep

That library is going away, and it is not needed here.
This commit is contained in:
Matthias Clasen 2012-06-07 21:06:38 -04:00
parent f8b74a799a
commit 0b37866828
2 changed files with 15 additions and 0 deletions

View File

@ -23,6 +23,9 @@ Patch3: 0001-Fix-importing-GPG-signatures.patch
# Upstreamable? allow use of xulrunner2 for browser-plugin support
Patch4: PackageKit-0.7.4-xulrunner2.patch
# Avoid this unneeded dep
Patch5: no-polkit-backend-required.patch
Requires: PackageKit-glib = %{version}-%{release}
Requires: PackageKit-backend
Requires: shared-mime-info
@ -262,6 +265,7 @@ user to restart the computer or remove and re-insert the device.
%patch2 -p1 -b .yum-untrusted
%patch3 -p1 -b .fix-install-signature
%patch4 -p1 -b .xulrunner2
%patch5 -p1 -b .polkit
NOCONFIGURE=1 ./autogen.sh
%build

View File

@ -0,0 +1,11 @@
diff -up PackageKit-0.7.4/configure.ac.polkit-backend PackageKit-0.7.4/configure.ac
--- PackageKit-0.7.4/configure.ac.polkit-backend 2012-06-07 21:04:41.787300654 -0400
+++ PackageKit-0.7.4/configure.ac 2012-06-07 21:05:00.813300940 -0400
@@ -542,7 +542,6 @@ AC_SUBST(security_framework, "$with_secu
if test x$with_security_framework = xpolkit; then
PKG_CHECK_MODULES(POLKIT, \
- polkit-backend-1 \
polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED)
AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit])
elif test x$with_security_framework = xdummy; then