Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2014-09-24 13:08:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcelog" Changes: -------- --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes 2014-09-18 07:12:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new/mcelog.changes 2014-09-24 13:08:58.000000000 +0200 @@ -1,0 +2,8 @@ +Sat Sep 20 03:16:05 UTC 2014 - [email protected] + +- mcelog.tmpfiles, mcelog-socket-path.patch, move socket + and pid file to /run/mcelog directory. + This update may require reboot as the relevant rpm macro + tmpfiles_create is not yet in any product. + +------------------------------------------------------------------- New: ---- mcelog-socket-path.patch mcelog.tmpfiles ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mcelog.spec ++++++ --- /var/tmp/diff_new_pack.cd0xvx/_old 2014-09-24 13:08:59.000000000 +0200 +++ /var/tmp/diff_new_pack.cd0xvx/_new 2014-09-24 13:08:59.000000000 +0200 @@ -16,7 +16,6 @@ # - Name: mcelog Summary: Log Machine Check Events License: GPL-2.0 @@ -32,6 +31,7 @@ Source2: mcelog.sysconfig Source3: mcelog.systemd Source4: 90-mcelog.rules +Source5: mcelog.tmpfiles Source6: README.email_setup Patch1: email.patch Patch2: mcelog_invert_prefill_db_warning.patch @@ -44,6 +44,7 @@ Patch9: patches/add-f15h-support.patch Patch10: patches/add-f16h-support.patch Patch11: 0001-Continue-without-dmi-when-no-SMBIOS-or-SMBIOS-0x0-in.patch +Patch12: mcelog-socket-path.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Url: https://git.kernel.org/cgit/utils/cpu/mce/mcelog.git @@ -80,7 +81,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p1 - +%patch12 -p1 %build export SUSE_ASNEEDED=0 make CFLAGS="$RPM_OPT_FLAGS" @@ -100,6 +101,7 @@ install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/mcelog.service install -D -m 0644 %SOURCE4 %{buildroot}%{_udevrulesdir}/90-mcelog.rules +install -D -m 0644 %SOURCE5 %{buildroot}%{_tmpfilesdir}/mcelog.conf ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%_sbindir/rcmcelog %clean @@ -110,7 +112,9 @@ %post %fillup_only +%{?tmpfiles_create:%{tmpfiles_create}} %udev_rules_update + %service_add_post %{name}.service %preun @@ -130,6 +134,7 @@ /etc/mcelog/*trigger %{_unitdir}/mcelog.service %{_udevrulesdir}/90-mcelog.rules +%{_tmpfilesdir}/mcelog.conf %_docdir/%name %_sbindir/rcmcelog ++++++ mcelog-socket-path.patch ++++++ --- mcelog-1.0.1.orig/paths.h +++ mcelog-1.0.1/paths.h @@ -4,8 +4,8 @@ #define DIMM_DB_FILENAME PREFIX "/var/lib/memory-errors" #define CONFIG_FILENAME PREFIX "/etc/mcelog/mcelog.conf" -#define SOCKET_PATH "/var/run/mcelog-client" +#define SOCKET_PATH "/run/mcelog/mcelog-client" #define LOG_FILE "/var/log/mcelog" -#define PID_FILE "/var/run/mcelog.pid" +#define PID_FILE "/run/mcelog/mcelog.pid" ++++++ mcelog.tmpfiles ++++++ d /run/mcelog 0755 root root --- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
