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