From 4e9da1c5e2894be28f50f837569fca264872f6de Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 7 May 2016 14:37:41 -0400 Subject: [PATCH] Provides: rpm-ostree-client for CentOS7/RHEL This way `cockpit` can work if we only have `rpm-ostree` in the root. --- rpm-ostree.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpm-ostree.spec b/rpm-ostree.spec index a49ae16..aaf3d62 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -39,6 +39,11 @@ BuildRequires: python-sphinx Requires: ostree >= 2014.6 +# In CentOS7/RHEL the package is client-only right now, but we can do both +%if 0%{?rhel} != 0 && 0%{?rhel} <= 7 +Provides: rpm-ostree-client +%endif + # We're using RPATH to pick up our bundled version %global __requires_exclude ^libhif[.]so[.].*$