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