Accepting request 1118089 from home:trenn:branches:hardware
- Fix build on old distros by linking new README.md to README - minor spec cleanups OBS-URL: https://build.opensuse.org/request/show/1118089 OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=46
This commit is contained in:
parent
5588afda8a
commit
8ede11df62
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1211facac78cc377dee3e047ac8dc390880fcb35b03fc9a434e7eb6e22ebae71
|
oid sha256:ab129ce01d2a4a4d729de0231b5c870fa96b1afd8e0779f0f6dab653ee4eadf2
|
||||||
size 607244
|
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
|
Mon Jul 10 21:10:45 UTC 2023 - malcolmlewis@opensuse.org
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ BuildRequires: gettext-devel
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libtraceevent-devel
|
BuildRequires: libtraceevent-devel
|
||||||
BuildRequires: sqlite3-devel
|
BuildRequires: sqlite3-devel
|
||||||
Requires(pre): %fillup_prereq
|
|
||||||
Requires: perl-DBD-SQLite
|
Requires: perl-DBD-SQLite
|
||||||
|
Requires(pre): %fillup_prereq
|
||||||
%{?systemd_ordering}
|
%{?systemd_ordering}
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
Requires: dmidecode
|
Requires: dmidecode
|
||||||
@ -51,6 +51,10 @@ an utility for reporting current error counts from the EDAC sysfs files.
|
|||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Fixes:
|
||||||
|
# Makefile.am: error: required file './README' not found
|
||||||
|
# on old autoconf versions
|
||||||
|
ln -s README.md README
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
%configure --enable-all --with-sysconfdefdir=%{_sysconfdir}/sysconfig
|
||||||
CFLAGS="%{optflags}" make %{?_smp_mflags} V=1
|
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
|
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}/rcrasdaemon
|
||||||
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
|
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}%{_localstatedir}/lib/rasdaemon
|
||||||
mkdir -p %{buildroot}%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
mv %{buildroot}%{_sysconfdir}/sysconfig/rasdaemon %{buildroot}/%{_fillupdir}/sysconfig.rasdaemon
|
||||||
|
Loading…
Reference in New Issue
Block a user