]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: Fix polkit dep on F23
authorCole Robinson <crobinso@redhat.com>
Tue, 14 Jul 2015 18:42:28 +0000 (14:42 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 23 Dec 2015 23:03:34 +0000 (18:03 -0500)
As of fedora polkit-0.113-2, polkit-devel only pulls in polkit-libs, not
full polkit, but we need the latter for pkcheck otherwise our configure
test fails.

(cherry picked from commit 6600f4f3d84bc07ee344a56d193c0a45ad0b7f7b)

libvirt.spec.in

index f25b710a794a5e2cb3196b30735d96d6f2bf9b86..134ba35781ffbd81180c926ccef63d21be53b69a 100644 (file)
@@ -524,6 +524,8 @@ BuildRequires: cyrus-sasl-devel
 %endif
 %if %{with_polkit}
     %if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
+# F22 polkit-devel doesn't pull in polkit anymore, which we need for pkcheck
+BuildRequires: polkit >= 0.112
 BuildRequires: polkit-devel >= 0.112
     %else
         %if 0%{?fedora} || 0%{?rhel} >= 6