SHA256
1
0
forked from pool/rasdaemon

Accepting request 346253 from home:trenn:branches:hardware

- Fix upper case letter issues on requires on package perl-DBD-SQLite
- Create /var/lib/rasdaemon for db file creation at runtime

OBS-URL: https://build.opensuse.org/request/show/346253
OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=3
This commit is contained in:
Fabian Vogt 2015-11-25 16:42:25 +00:00 committed by Git OBS Bridge
parent 296203b030
commit fa2d8a0036
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 25 16:33:33 UTC 2015 - trenn@suse.de
- Fix upper case letter issues on requires on package perl-DBD-SQLite
- Create /var/lib/rasdaemon for db file creation at runtime
-------------------------------------------------------------------
Fri Nov 6 10:28:49 UTC 2015 - fvogt@suse.com

View File

@ -33,7 +33,7 @@ BuildRequires: make
BuildRequires: sqlite3-devel
BuildRequires: systemd-rpm-macros
Requires: dmidecode
Requires: perl-dbd-sqlite
Requires: perl-DBD-SQLite
Requires(post): systemd
Requires(postun): systemd
Requires(preun): systemd
@ -64,6 +64,7 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrasdaemon
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
rm %{buildroot}%{_includedir}/*.h
mkdir -p %{buildroot}%{_localstatedir}/lib/rasdaemon
%pre
%service_add_pre rasdaemon.service ras-mc-ctl.service
@ -87,6 +88,8 @@ rm %{buildroot}%{_includedir}/*.h
%{_mandir}/*/*
%{_unitdir}/*.service
%dir %{_sysconfdir}/ras
%dir %{_localstatedir}/lib/rasdaemon
%ghost %{_localstatedir}/lib/rasdaemon/ras-mc_event.db
%{_sysconfdir}/ras/dimm_labels.d
%changelog