From fa2d8a0036fa61e6c8e15f2e5140dd530e0f13bae27b82782177a3d96b563807 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Wed, 25 Nov 2015 16:42:25 +0000 Subject: [PATCH] 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 --- rasdaemon.changes | 6 ++++++ rasdaemon.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/rasdaemon.changes b/rasdaemon.changes index 0d7ec4a..98ed784 100644 --- a/rasdaemon.changes +++ b/rasdaemon.changes @@ -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 diff --git a/rasdaemon.spec b/rasdaemon.spec index 27452e3..1523951 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -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