Hello community, here is the log from the commit of package mcelog for openSUSE:12.3 checked in at 2013-02-23 16:38:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/mcelog (Old) and /work/SRC/openSUSE:12.3/.mcelog.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcelog", Maintainer is "tr...@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.3/mcelog/mcelog.changes 2013-01-31 01:27:02.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.mcelog.new/mcelog.changes 2013-02-23 16:38:14.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Feb 22 13:00:21 UTC 2013 - rmila...@suse.com + +- Install mcelog.service accordingly (/usr/lib/systemd for 12.3 + and up or /lib/systemd for older versions). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mcelog.spec ++++++ --- /var/tmp/diff_new_pack.sEOH5a/_old 2013-02-23 16:38:14.000000000 +0100 +++ /var/tmp/diff_new_pack.sEOH5a/_new 2013-02-23 16:38:14.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mcelog # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # - Name: mcelog Summary: Log Machine Check Events License: GPL-2.0+ @@ -36,6 +35,12 @@ Patch2: mcelog_invert_prefill_db_warning.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %suse_version > 1220 +%define _unitdir /usr/lib/systemd +%else +%define _unitdir /lib/systemd +%endif + %description mcelog retrieves machine check events from an x86-64 kernel in a cron job, decodes them, and logs them to /var/log/mcelog. @@ -77,7 +82,7 @@ mkdir -p $RPM_BUILD_ROOT/%_docdir/%name install -m 644 %SOURCE6 $RPM_BUILD_ROOT/%_docdir/%name/README.email_setup install -m 644 lk10-mcelog.pdf $RPM_BUILD_ROOT/%_docdir/%name/lk10-mcelog.pdf -install -D -m 0644 %SOURCE3 %{buildroot}/lib/systemd/system/mcelog.service +install -D -m 0644 %SOURCE3 %{buildroot}%{_unitdir}/system/mcelog.service %clean rm -rf $RPM_BUILD_ROOT @@ -96,7 +101,6 @@ %files %defattr (-,root,root,755) -/lib/systemd/system/mcelog.service %{_mandir}/man8/* /usr/sbin/mcelog %config /etc/logrotate.d/mcelog @@ -106,6 +110,9 @@ /var/adm/fillup-templates/sysconfig.mcelog /etc/mcelog/*trigger /usr/sbin/rcmcelog +%dir %{_unitdir} +%dir %{_unitdir}/system +%{_unitdir}/system/mcelog.service %_docdir/%name %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org