Hello community,

here is the log from the commit of package brp-check-suse for openSUSE:12.2 
checked in at 2012-07-02 11:01:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/brp-check-suse (Old)
 and      /work/SRC/openSUSE:12.2/.brp-check-suse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "brp-check-suse", Maintainer is "r...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:12.2/brp-check-suse/brp-check-suse.changes       
2012-06-25 15:16:07.000000000 +0200
+++ /work/SRC/openSUSE:12.2/.brp-check-suse.new/brp-check-suse.changes  
2012-07-02 11:01:42.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Jul  1 19:37:50 UTC 2012 - co...@suse.com
+
+- do not allow symlinks to point to itself (not existant as result)
+
+-------------------------------------------------------------------

New:
----
  check-broken-symlinks.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ brp-check-suse.spec ++++++
--- /var/tmp/diff_new_pack.1bqcDR/_old  2012-07-02 11:01:42.000000000 +0200
+++ /var/tmp/diff_new_pack.1bqcDR/_new  2012-07-02 11:01:42.000000000 +0200
@@ -33,6 +33,7 @@
 # make package
 #
 Source0:        %{name}-%{version}.tar.bz2
+Patch0:         check-broken-symlinks.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %global provfind sh -c "grep -v 'brp-desktop.data' | %__find_provides"
 %global __find_provides %provfind
@@ -47,6 +48,7 @@
 %ifnarch x86_64 s390x ppc64
 rm brp-65-lib64-linux
 %endif
+%patch0 -p1
 
 %build
 # nothing to do

++++++ check-broken-symlinks.diff ++++++
Index: brp-check-suse-1.0/brp-25-symlink
===================================================================
--- brp-check-suse-1.0.orig/brp-25-symlink      2012-03-13 13:52:11.000000000 
+0100
+++ brp-check-suse-1.0/brp-25-symlink   2012-07-01 21:37:11.698384089 +0200
@@ -79,6 +79,11 @@ do
        fi
     done
 
+    if test "$link" = "$link_dest"; then
+      echo "ERROR: $link points to itself (as $orig_link_dest)"
+      exit 1
+    fi
+
     # black list
     case "$link,$link_dest" in
        *,/var/lib/named*)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to