]> xenbits.xensource.com Git - 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>
Tue, 21 Jul 2015 18:06:37 +0000 (14:06 -0400)
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.

libvirt.spec.in

index 0adf55e88aa3fc2db45b1be2226818d25d4c1ae6..40d2ccb5c05f769c98e89d8773b3b43d08761d1e 100644 (file)
@@ -531,6 +531,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