Hello community, here is the log from the commit of package rpmlint-tests for openSUSE:Factory checked in at 2012-02-22 15:55:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rpmlint-tests (Old) and /work/SRC/openSUSE:Factory/.rpmlint-tests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rpmlint-tests", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/rpmlint-tests/rpmlint-tests.changes 2012-02-14 19:07:25.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rpmlint-tests.new/rpmlint-tests.changes 2012-02-22 15:55:16.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 20 16:04:11 UTC 2012 - [email protected] + +- add logrotate test + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rpmlint-tests.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate1.ignore new/rpmlint-tests/tests/logrotate1.ignore --- old/rpmlint-tests/tests/logrotate1.ignore 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate1.ignore 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1,3 @@ +#addFilter(" files-duplicate") +#addFilter(" no-manual-page-for-binary ") +#addFilter(" no-binary") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate1.ref new/rpmlint-tests/tests/logrotate1.ref --- old/rpmlint-tests/tests/logrotate1.ref 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate1.ref 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1 @@ +1 packages and 0 specfiles checked; 0 errors, 0 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate1.spec new/rpmlint-tests/tests/logrotate1.spec --- old/rpmlint-tests/tests/logrotate1.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate1.spec 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1,50 @@ +Name: logrotate1 +Version: 0 +Release: 0 +Group: Development/Tools/Building +Summary: Lorem ipsum +License: GPL-2.0+ +BuildRoot: %_tmppath/%name-%version-build +Url: http://www.opensuse.org/ +BuildArch: noarch +Requires: logrotate + +%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 + +%install +install -d -m 755 %buildroot/var/log/foo +install -d -m 755 %buildroot/etc/logrotate.d +cat > %buildroot/etc/logrotate.d/logrotate1 <<EOF +/var/log/foo/1.log /var/log/foo/2.log { + compress + dateext + maxage 365 + rotate 99 + size=+1024k + notifempty + missingok + copytruncate +} +EOF + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +%config /etc/logrotate.d/* +%dir /var/log/foo + +%changelog +* Mon Apr 18 2011 [email protected] +- dummy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate2.ignore new/rpmlint-tests/tests/logrotate2.ignore --- old/rpmlint-tests/tests/logrotate2.ignore 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate2.ignore 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1,5 @@ +#addFilter(" files-duplicate") +#addFilter(" no-manual-page-for-binary ") +#addFilter(" no-binary") +addFilter(" incoherent-logrotate-file") +addFilter(" ghost-files-without-postin") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate2.ref new/rpmlint-tests/tests/logrotate2.ref --- old/rpmlint-tests/tests/logrotate2.ref 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate2.ref 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1,6 @@ +logrotate2: W: suse-logrotate-user-writable-log-dir /var/log/foo1 daemon:root 0700 +logrotate2: W: suse-logrotate-user-writable-log-dir /var/log/foo2 root:daemon 0770 +logrotate2: W: suse-logrotate-user-writable-log-dir /var/log/foo3 daemon:root 0555 +logrotate2: W: suse-logrotate-log-dir-not-packaged /var/log/foo6 +logrotate2: W: logrotate-duplicate /var/log/foo5 +1 packages and 0 specfiles checked; 0 errors, 5 warnings. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rpmlint-tests/tests/logrotate2.spec new/rpmlint-tests/tests/logrotate2.spec --- old/rpmlint-tests/tests/logrotate2.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/rpmlint-tests/tests/logrotate2.spec 2012-02-20 17:03:17.000000000 +0100 @@ -0,0 +1,85 @@ +Name: logrotate2 +Version: 0 +Release: 0 +Group: Development/Tools/Building +Summary: Lorem ipsum +License: GPL-2.0+ +BuildRoot: %_tmppath/%name-%version-build +Url: http://www.opensuse.org/ +BuildArch: noarch +Requires: logrotate + +%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 + +%install +install -d -m 755 %buildroot/var/log/foo{1,2,3,4,5,6} +install -m 644 /dev/null %buildroot/var/log/foo6/log +install -m 644 /dev/null %buildroot/var/log/foo.log + +install -d -m 755 %buildroot/etc/logrotate.d +cat > %buildroot/etc/logrotate.d/logrotate2 <<EOF +/var/log/foo1/log /var/log/foo2/log { + compress + dateext + maxage 365 + rotate 99 + size=+1024k + notifempty + missingok + copytruncate +} + +/var/log/foo3/log { + compress +} + +# good entry +/var/log/foo4/log { + su daemon root +} + +/var/log/foo5/log { + su foo bar +} +EOF +cat > %buildroot/etc/logrotate.d/logrotate2b <<EOF +/var/log/foo5/log { + compress +} + +/var/log/foo6/log { + compress +} + +/var/log/foo.log { + compress +} +EOF + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +%config /etc/logrotate.d/* +%dir %attr(0700, daemon, root) /var/log/foo1 +%dir %attr(0770, root, daemon) /var/log/foo2 +%dir %attr(0555, daemon, root) /var/log/foo3 +%dir %attr(0555, daemon, root) /var/log/foo4 +%dir %attr(0755, root, root) /var/log/foo5 +%ghost %attr(0644, root, root) /var/log/foo6/log +%ghost %attr(0644, root, root) /var/log/foo.log + +%changelog +* Mon Apr 18 2011 [email protected] +- dummy -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
