Hello community,
here is the log from the commit of package rpmlint-tests for openSUSE:Factory checked in at 2014-08-28 21:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rpmlint-tests (Old)
and /work/SRC/openSUSE:Factory/.rpmlint-tests.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpmlint-tests"
Changes:
--------
--- /work/SRC/openSUSE:Factory/rpmlint-tests/rpmlint-tests.changes 2014-05-06 17:42:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rpmlint-tests.new/rpmlint-tests.changes 2014-08-28 21:05:46.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Aug 21 15:09:10 UTC 2014 - lnussel@suse.de
+
+- fix rclink* tests by adding expected systemd macros
+
+-------------------------------------------------------------------
+Thu Aug 21 13:12:44 UTC 2014 - lnussel@suse.de
+
+- add test cases for systemd macros
+
+-------------------------------------------------------------------
Old:
----
rpmlint-tests-13.2+git20140506.829452f.tar.xz
New:
----
rpmlint-tests-13.2+git20140821.c02617a.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rpmlint-tests.spec ++++++
--- /var/tmp/diff_new_pack.eEc3BT/_old 2014-08-28 21:05:47.000000000 +0200
+++ /var/tmp/diff_new_pack.eEc3BT/_new 2014-08-28 21:05:47.000000000 +0200
@@ -22,7 +22,7 @@
BuildRequires: rpmlint-mini
Name: rpmlint-tests
-Version: 13.2+git20140506.829452f
+Version: 13.2+git20140821.c02617a
Release: 0
Summary: rpmlint regression tests
License: SUSE-Public-Domain
++++++ rpmlint-tests-13.2+git20140506.829452f.tar.xz -> rpmlint-tests-13.2+git20140821.c02617a.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink3.spec new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink3.spec
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink3.spec 2014-05-06 11:12:15.000000000 +0200
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink3.spec 2014-08-21 17:08:55.000000000 +0200
@@ -31,6 +31,18 @@
install -m 755 blah %buildroot/etc/init.d/blah
install -m 644 /dev/null %buildroot/usr/lib/systemd/system/blah.service
+%pre
+%service_add_pre blah.service
+
+%preun
+%service_del_preun blah.service
+
+%post
+%service_add_post blah.service
+
+%postun
+%service_del_postun blah.service
+
%clean
rm -rf %buildroot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink4.spec new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink4.spec
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink4.spec 2014-05-06 11:12:15.000000000 +0200
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink4.spec 2014-08-21 17:08:55.000000000 +0200
@@ -26,6 +26,18 @@
install -d -m 755 %buildroot/usr/sbin
install -m 644 /dev/null %buildroot/usr/lib/systemd/system/blah.service
+%pre
+%service_add_pre blah.service
+
+%preun
+%service_del_preun blah.service
+
+%post
+%service_add_post blah.service
+
+%postun
+%service_del_postun blah.service
+
%clean
rm -rf %buildroot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink5.spec new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink5.spec
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink5.spec 2014-05-06 11:12:15.000000000 +0200
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink5.spec 2014-08-21 17:08:55.000000000 +0200
@@ -27,6 +27,18 @@
install -m 644 /dev/null %buildroot/usr/lib/systemd/system/blah.service
ln -s /etc/init.d/blah %buildroot/usr/sbin/rcblah
+%pre
+%service_add_pre blah.service
+
+%preun
+%service_del_preun blah.service
+
+%post
+%service_add_post blah.service
+
+%postun
+%service_del_postun blah.service
+
%clean
rm -rf %buildroot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink6.spec new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink6.spec
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/rclink6.spec 2014-05-06 11:12:15.000000000 +0200
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/rclink6.spec 2014-08-21 17:08:55.000000000 +0200
@@ -27,6 +27,18 @@
install -m 644 /dev/null %buildroot/usr/lib/systemd/system/blah.service
ln -s /usr/sbin/service %buildroot%_sbindir/rcblah
+%pre
+%service_add_pre blah.service
+
+%preun
+%service_del_preun blah.service
+
+%post
+%service_add_post blah.service
+
+%postun
+%service_del_postun blah.service
+
%clean
rm -rf %buildroot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/systemd-bad.ref new/rpmlint-tests-13.2+git20140821.c02617a/tests/systemd-bad.ref
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/systemd-bad.ref 1970-01-01 01:00:00.000000000 +0100
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/systemd-bad.ref 2014-08-21 17:08:55.000000000 +0200
@@ -0,0 +1,6 @@
+systemd-bad: W: systemd-service-without-service_del_preun foobar.service
+systemd-bad: W: systemd-service-without-service_del_postun foobar.service
+systemd-bad: W: systemd-service-without-service_add_pre foobar.service
+systemd-bad: W: systemd-service-without-service_add_post foobar.service
+systemd-bad: W: suse-missing-rclink foobar
+1 packages and 0 specfiles checked; 0 errors, 5 warnings.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests-13.2+git20140506.829452f/tests/systemd-bad.spec new/rpmlint-tests-13.2+git20140821.c02617a/tests/systemd-bad.spec
--- old/rpmlint-tests-13.2+git20140506.829452f/tests/systemd-bad.spec 1970-01-01 01:00:00.000000000 +0100
+++ new/rpmlint-tests-13.2+git20140821.c02617a/tests/systemd-bad.spec 2014-08-21 17:08:55.000000000 +0200
@@ -0,0 +1,44 @@
+Name: systemd-bad
+Version: 0
+Release: 0
+Group: Development/Tools/Building
+Summary: Lorem ipsum
+License: GPL-2.0+
+Url: http://www.opensuse.org/
+BuildArch: noarch
+
+%description
+Lorem ipsum dolor sit amet, consectetur adipisici elit, sed
+eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim
+ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+aliquid ex ea commodi consequat. Quis aute iure reprehenderit in
+voluptate velit esse cillum dolore eu fugiat nulla pariatur.
+Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui
+officia deserunt mollit anim id est laborum.
+
+%prep
+%build
+cat > foobar.service <