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 4
[-]
[+]
Changed
softflowd.spec
@@ -41,24 +41,24 @@ 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 -%fi +%endif %if 0%{?suse_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} cp %{S:2} $RPM_BUILD_ROOT/etc/init.d/%{name} -%fi +%endif %post %if 0%{?suse_version} %{fillup_and_insserv softflowd} %{fillup_only -an softflowd} -%fi +%endif %preun %if 0%{?suse_version} %stop_on_removal softflowd -%fi +%endif %files %defattr(-,root,root) @@ -68,11 +68,11 @@ %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} %attr(0755,root,root) /etc/rc.d/init.d/softflowd %config(noreplace) %attr(0644,root,root) /etc/sysconfig/softflowd -%fi +%endif %if 0%{?suse_version} %attr(0755,root,root) /etc/init.d/softflowd /var/adm/fillup-templates/sysconfig.%{name} -%fi +%endif %clean rm -rf $RPM_BUILD_ROOT