Accepting request 925150 from home:trenn:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/925150 OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=38
This commit is contained in:
parent
c42643605a
commit
4d14223816
@ -51,7 +51,7 @@ an utility for reporting current error counts from the EDAC sysfs files.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
%configure --enable-all --with-sysconfdefdir=%{_fillupdir}
|
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,7 +64,7 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
|
|||||||
rm INSTALL %{buildroot}/usr/include/*.h
|
rm INSTALL %{buildroot}/usr/include/*.h
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
|
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
|
||||||
mkdir -p %{buildroot}%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
mv %{buildroot}%{_fillupdir}/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre rasdaemon.service ras-mc-ctl.service
|
%service_add_pre rasdaemon.service ras-mc-ctl.service
|
||||||
|
Loading…
Reference in New Issue
Block a user