diff --git a/lm_sensors.spec b/lm_sensors.spec index 9ac37b4..ac65a3c 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -11,9 +11,8 @@ Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2 Source1: lm_sensors.sysconfig # these 2 were taken from PLD-linux, Thanks! Source2: sensord.sysconfig -Source3: sensord.systemd -Source4: lm_sensors-modprobe -Source5: lm_sensors-modprobe-r +Source3: lm_sensors-modprobe +Source4: lm_sensors-modprobe-r Patch0: lm_sensors-3.3.4-sensors-detect-null-input.patch Patch1: lm_sensors-3.3.4-lm_sensors-service-modprobe-warnings.patch @@ -95,8 +94,8 @@ install -pm 644 prog/init/fancontrol.service $RPM_BUILD_ROOT%{_unitdir} # customized modprobe calls mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/%{name} -install -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe -install -pm 755 %{SOURCE5} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe-r +install -pm 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe +install -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_libexecdir}/%{name}/modprobe-r # Note non standard systemd scriptlets, since reload / stop makes no sense