Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
hddtemp
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
hddtemp.spec
@@ -45,7 +45,7 @@ %__make DESTDIR=%{buildroot} install %__install -D -m644 %{S:1} %{buildroot}/usr/share/misc/hddtemp.db %__patch -p0 %{buildroot}/usr/share/misc/hddtemp.db %{S:4} -%__install -D -m755 %{S:2} %{buildroot}%{_initdir}/%{name} +%__install -D -m755 %{S:2} %{buildroot}%{_sysconfdir}/init.d/%{name} %if 0%{?suse_version} %__install -D -m644 %{S:3} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} @@ -64,16 +64,16 @@ fi case "$1" in 1) # new install - %fillup_and_insserv + %{fillup_and_insserv -f -Y hddtemp} ;; 2) # upgrade/reinstall - %restart_on_update %{name} + %{restart_on_update hddtemp} ;; esac %preun if [ "$1" = "0" ]; then # remove - %stop_on_removal %{name} + %{stop_on_removal hddtemp} fi @@ -83,6 +83,7 @@ %files %defattr(-,root,root,755) /usr/sbin/* +%{_sysconfdir}/init.d/%{name} %{_datadir}/locale/*/LC_MESSAGES/hddtemp.mo %{_mandir}/man8/hddtemp.8* %{_datadir}/misc/hddtemp.db