Drop libpolkit-backend dep
That library is going away, and it is not needed here.
This commit is contained in:
parent
f8b74a799a
commit
0b37866828
@ -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
|
||||
|
||||
11
no-polkit-backend-required.patch
Normal file
11
no-polkit-backend-required.patch
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user