Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
xbt-tracker
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
xbt-tracker.spec
@@ -21,10 +21,10 @@ BuildRequires: gcc-c++, cmake >= 2.4, boost-devel, libstdc++-devel, zlib-devel %if 0%{?suse_version} BuildRequires: libmysqlclient-devel +PreReq: %insserv_prereq %fillup_prereq %else BuildRequires: mysql-devel %endif -PreReq: %insserv_prereq %fillup_prereq %description @@ -56,15 +56,20 @@ ln -sf %{_initrddir}/%{name} %{buildroot}/%{_sbindir}/rcxbt-tracker %post +%if 0%{?suse_version} %fillup_and_insserv %{name} %restart_on_update %{name} +%endif %preun +%if 0%{?suse_version} %stop_on_removal %{name} +%endif %postun +%if 0%{?suse_version} %insserv_cleanup - +%endif %clean rm -rf "%{buildroot}"