From b28697d3c9c58e314a0a5fc219e7116f4ad0eef1 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: May 07 2013 10:48:54 +0000 Subject: bash-completion is not available on RHEL --- diff --git a/colord.spec b/colord.spec index 8502b2c..911fa96 100644 --- a/colord.spec +++ b/colord.spec @@ -39,7 +39,9 @@ BuildRequires: vala-tools BuildRequires: libgusb-devel BuildRequires: gtk-doc BuildRequires: color-filesystem +%if !0%{?rhel} BuildRequires: bash-completion +%endif %if 0%{?build_print_profiles} BuildRequires: argyllcms %endif @@ -181,7 +183,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service %{_datadir}/man/man1/*.1.gz %{_datadir}/colord +%if !0%{?rhel} %{_datadir}/bash-completion/completions/colormgr +%endif %config %{_sysconfdir}/colord.conf /usr/lib/udev/rules.d/*.rules %{_libdir}/colord-sensors