Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
managed
:
testing
>
func
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
func.spec
@@ -22,7 +22,7 @@ %else BuildRequires: python-setuptools %endif -%if 0%{?fedora} >= 16 +%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 BuildRequires: systemd-units Requires(post): systemd-sysv Requires(post): systemd-units @@ -50,7 +50,7 @@ mkdir -p $RPM_BUILD_ROOT%{_bindir} install -m 755 init-scripts/funcd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/funcd -%if 0%{?fedora} >= 16 +%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 mkdir -p $RPM_BUILD_ROOT%{_unitdir} install -m0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/funcd.service rm -rf $RPM_BUILD_ROOT/etc/init.d @@ -66,7 +66,7 @@ %endif # Conditionally include funcd. -%if 0%{?fedora} >= 16 +%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 %exclude %{_sysconfdir}/init.d/funcd %{_unitdir}/funcd.service %else @@ -202,7 +202,7 @@ fi fi -%if 0%{?fedora} >= 16 +%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 %triggerun -- func < 0.28-2 # Save the current service runlevel info # User must manually run systemd-sysv-convert --apply funcd