Doh, I can't type :(
OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=65
This commit is contained in:
parent
d98f85ee65
commit
a6c8069b35
@ -159,8 +159,8 @@ make %{?_smp_mflags} PROG_EXTRA:=sensord BUILD_STATIC_LIB:=0 PREFIX=%{_prefix} M
|
|||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||||
install -m 0755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/lm_sensors
|
install -m 0755 %{S:1} $RPM_BUILD_ROOT/etc/init.d/lm_sensors
|
||||||
ln -sf /etc/init.d/lm_sensors $RPM_BUILD_ROOT/usr/sbin/rclm_sensors
|
ln -sf /etc/init.d/lm_sensors $RPM_BUILD_ROOT/usr/sbin/rclm_sensors
|
||||||
mkdir -p $RPM_BULID_ROOT/%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
|
||||||
cp -a prog/init/*.service $RPM_BULID_ROOT/%{_unitdir}/
|
cp -a prog/init/*.service $RPM_BUILD_ROOT/%{_unitdir}/
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre lm_sensors.service
|
%service_add_pre lm_sensors.service
|
||||||
|
Loading…
Reference in New Issue
Block a user