Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
softflowd
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
softflowd.spec
@@ -39,12 +39,14 @@ %__make install DESTDIR=$RPM_BUILD_ROOT mkdir -p %{buildroot}/var/lib/softflowd mkdir -p $RPM_BUILD_ROOT/etc/sysconfig + %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d cp %_sourcedir/softflowd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/softflowd cp %_sourcedir/softflowd.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/softflowd %endif -%if 0%{?suse_version} + +%if 0%{?suse_version} || 0%{?sles_version} mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates/ cp %{S:1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{name} @@ -80,7 +82,8 @@ %attr(0755,root,root) /etc/rc.d/init.d/softflowd %config(noreplace) %attr(0644,root,root) /etc/sysconfig/softflowd %endif -%if 0%{?suse_version} + +%if 0%{?suse_version} || 0%{?sles_version} %attr(0755,root,root) /etc/init.d/softflowd /var/adm/fillup-templates/sysconfig.%{name} %endif