From c7341d808ab082ab3ca9b809e1b4bd76d5f10c0f Mon Sep 17 00:00:00 2001 From: Steve Salevan Date: Oct 29 2012 19:54:13 +0000 Subject: Adding conditional to include /etc/init.d/funcd iff not >= F17 --- diff --git a/func.spec b/func.spec index 27fb3fe..2da8ca7 100644 --- a/func.spec +++ b/func.spec @@ -70,9 +70,14 @@ rm -fr $RPM_BUILD_ROOT %if "%{python_version}" >= "2.5" %{python_sitelib}/func*.egg-info %endif -%if 0%{?rhel} <= 6 + +# Conditionally include funcd. +%if 0%{?fedora} >= 16 +%exclude %{_sysconfdir}/init.d/funcd +%else %{_sysconfdir}/init.d/funcd %endif + %{_bindir}/funcd %{_bindir}/func %{_bindir}/func-inventory