Hello community, here is the log from the commit of package yast2-apparmor for openSUSE:Factory checked in at 2013-06-05 13:25:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-apparmor (Old) and /work/SRC/openSUSE:Factory/.yast2-apparmor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-apparmor" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-apparmor/yast2-apparmor.changes 2013-02-28 10:23:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-apparmor.new/yast2-apparmor.changes 2013-06-05 13:25:35.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jan 10 00:20:15 UTC 2013 - [email protected] + +- don't create /var/log/apparmor/*/ in %post (no longer needed) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-apparmor.spec ++++++ --- /var/tmp/diff_new_pack.lGIZW8/_old 2013-06-05 13:25:35.000000000 +0200 +++ /var/tmp/diff_new_pack.lGIZW8/_new 2013-06-05 13:25:35.000000000 +0200 @@ -106,12 +106,4 @@ %config(noreplace) /etc/apparmor/reports.conf %doc %{_prefix}/share/doc/packages/yast2-apparmor -%post -REPDIR='/var/log/apparmor/reports' -REPDIR2='/var/log/apparmor/reports-archived' -REPDIR3='/var/log/apparmor/reports-exported' -[ -e $REPDIR ] || mkdir -p $REPDIR -[ -e $REPDIR2 ] || mkdir -p $REPDIR2 -[ -e $REPDIR3 ] || mkdir -p $REPDIR3 - %changelog ++++++ yast2-apparmor-2.22.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/Makefile.am new/yast2-apparmor-2.22.2/Makefile.am --- old/yast2-apparmor-2.22.2/Makefile.am 2013-02-22 10:48:33.000000000 +0100 +++ new/yast2-apparmor-2.22.2/Makefile.am 2013-05-28 14:04:25.000000000 +0200 @@ -158,19 +158,14 @@ TAGVERSION = $(Y2TOOL) tagversion -check-up-to-date check-cvs-up-to-date check-svn-up-to-date: - if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) && ! cvs -q -n up 2>/dev/null | grep '^[MCAR] ';\ - else \ - cd $(srcdir) && ! LC_ALL=C svn status --show-updates --quiet | grep -v '^Status against revision' ;\ +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ fi check-tagversion: - @if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) && cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\ - else \ - cd $(srcdir) && svn cat `$(TAGVERSION) --echourl`/VERSION; \ - fi >/dev/null; \ + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) check-parse-old: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/Makefile.am.common new/yast2-apparmor-2.22.2/Makefile.am.common --- old/yast2-apparmor-2.22.2/Makefile.am.common 2013-02-22 10:48:33.000000000 +0100 +++ new/yast2-apparmor-2.22.2/Makefile.am.common 2013-05-28 14:04:25.000000000 +0200 @@ -31,7 +31,7 @@ CHECK_SYNTAX = true check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles) - @if test "$(client_DATA)"; then \ + @if test "$(filter %.ycp,client_DATA)"; then \ if $(CHECK_SYNTAX); then \ TO_CHECK="$(filter %.ycp,$^)"; \ echo "Checking syntax of $${TO_CHECK}"; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/Makefile.in new/yast2-apparmor-2.22.2/Makefile.in --- old/yast2-apparmor-2.22.2/Makefile.in 2013-02-22 10:48:38.000000000 +0100 +++ new/yast2-apparmor-2.22.2/Makefile.in 2013-05-28 14:04:29.000000000 +0200 @@ -981,19 +981,14 @@ package: check-up-to-date check-tagversion check-textdomain package-local -check-up-to-date check-cvs-up-to-date check-svn-up-to-date: - if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) && ! cvs -q -n up 2>/dev/null | grep '^[MCAR] ';\ - else \ - cd $(srcdir) && ! LC_ALL=C svn status --show-updates --quiet | grep -v '^Status against revision' ;\ +# check if there is no modified files and all commits were pushed +check-up-to-date: + if [ `git status --short --branch | sed '/##[^[]*$/d;/^??/d' | wc -l` -gt 0 ]; then \ + (echo "ERROR: Source is not commited and pushed. See `git status`"; false) \ fi check-tagversion: - @if [ -d $(srcdir)/CVS ]; then \ - cd $(srcdir) && cvs status -v VERSION | grep -w `$(TAGVERSION) -n` ;\ - else \ - cd $(srcdir) && svn cat `$(TAGVERSION) --echourl`/VERSION; \ - fi >/dev/null; \ + cd $(srcdir) && $(TAGVERSION) --check >/dev/null; \ [ $$? = 0 ] || ( echo "ERROR: Please run 'tagversion' first"; false ) check-parse-old: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/configure.in new/yast2-apparmor-2.22.2/configure.in --- old/yast2-apparmor-2.22.2/configure.in 2013-02-22 10:48:33.000000000 +0100 +++ new/yast2-apparmor-2.22.2/configure.in 2013-05-28 14:04:25.000000000 +0200 @@ -1,6 +1,6 @@ dnl configure.in for yast2-apparmor dnl -dnl -- This file is generated by y2autoconf 2.23.2 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.24.0 - DO NOT EDIT! -- dnl (edit configure.in.in instead) AC_INIT(yast2-apparmor, 2.22.2, http://bugs.opensuse.org/, yast2-apparmor) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/src/clients/Makefile.in new/yast2-apparmor-2.22.2/src/clients/Makefile.in --- old/yast2-apparmor-2.22.2/src/clients/Makefile.in 2013-02-22 10:48:38.000000000 +0100 +++ new/yast2-apparmor-2.22.2/src/clients/Makefile.in 2013-05-28 14:04:29.000000000 +0200 @@ -498,7 +498,7 @@ dist-hook: check-syntax check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles) - @if test "$(client_DATA)"; then \ + @if test "$(filter %.ycp,client_DATA)"; then \ if $(CHECK_SYNTAX); then \ TO_CHECK="$(filter %.ycp,$^)"; \ echo "Checking syntax of $${TO_CHECK}"; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-apparmor-2.22.2/src/modules/Makefile.in new/yast2-apparmor-2.22.2/src/modules/Makefile.in --- old/yast2-apparmor-2.22.2/src/modules/Makefile.in 2013-02-22 10:48:38.000000000 +0100 +++ new/yast2-apparmor-2.22.2/src/modules/Makefile.in 2013-05-28 14:04:29.000000000 +0200 @@ -491,7 +491,7 @@ dist-hook: check-syntax check-syntax: $(client_DATA) $(ycpchook) $(ybcfiles) - @if test "$(client_DATA)"; then \ + @if test "$(filter %.ycp,client_DATA)"; then \ if $(CHECK_SYNTAX); then \ TO_CHECK="$(filter %.ycp,$^)"; \ echo "Checking syntax of $${TO_CHECK}"; \ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
