Accepting request 1118091 from hardware
OBS-URL: https://build.opensuse.org/request/show/1118091 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rasdaemon?expand=0&rev=21
This commit is contained in:
commit
b53253c402
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1211facac78cc377dee3e047ac8dc390880fcb35b03fc9a434e7eb6e22ebae71
|
||||
oid sha256:ab129ce01d2a4a4d729de0231b5c870fa96b1afd8e0779f0f6dab653ee4eadf2
|
||||
size 607244
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 16 18:50:53 UTC 2023 - Thomas Renninger <trenn@suse.de>
|
||||
|
||||
- Fix build on old distros by linking new README.md to README
|
||||
- minor spec cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 21:10:45 UTC 2023 - malcolmlewis@opensuse.org
|
||||
|
||||
|
@ -30,8 +30,8 @@ BuildRequires: gettext-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libtraceevent-devel
|
||||
BuildRequires: sqlite3-devel
|
||||
Requires(pre): %fillup_prereq
|
||||
Requires: perl-DBD-SQLite
|
||||
Requires(pre): %fillup_prereq
|
||||
%{?systemd_ordering}
|
||||
%ifnarch s390x
|
||||
Requires: dmidecode
|
||||
@ -51,6 +51,10 @@ an utility for reporting current error counts from the EDAC sysfs files.
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
# Fixes:
|
||||
# Makefile.am: error: required file './README' not found
|
||||
# on old autoconf versions
|
||||
ln -s README.md README
|
||||
autoreconf -fvi
|
||||
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
||||
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
||||
@ -62,7 +66,7 @@ install -D -p -m 0644 misc/rasdaemon.service %{buildroot}%{_unitdir}/rasdaemon.s
|
||||
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
|
||||
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrasdaemon
|
||||
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
|
||||
rm INSTALL %{buildroot}/usr/include/*.h
|
||||
rm INSTALL %{buildroot}%{_includedir}/*.h
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
|
||||
mkdir -p %{buildroot}%{_fillupdir}
|
||||
mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
||||
|
Loading…
Reference in New Issue
Block a user