Hello community,

here is the log from the commit of package obs-service-format_spec_file for 
openSUSE:Factory
checked in at Fri Jun 17 11:36:23 CEST 2011.



--------
--- obs-service-format_spec_file/obs-service-format_spec_file.changes   
2011-05-25 14:01:05.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/obs-service-format_spec_file/obs-service-format_spec_file.changes
      2011-06-17 09:27:46.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Jun 17 07:27:18 UTC 2011 - [email protected]
+
+- do not replace licenses without knowing them (not sure this
+  is necessary at all)
+
+-------------------------------------------------------------------
+Tue May 31 08:03:34 UTC 2011 - [email protected]
+
+- do not fail on kiwi packages
+
+-------------------------------------------------------------------
+Wed May 25 15:34:28 UTC 2011 - [email protected]
+
+- do not generate new spec files when no changes happened
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ obs-service-format_spec_file.spec ++++++
--- /var/tmp/diff_new_pack.IMHV5m/_old  2011-06-17 11:36:06.000000000 +0200
+++ /var/tmp/diff_new_pack.IMHV5m/_new  2011-06-17 11:36:06.000000000 +0200
@@ -22,7 +22,7 @@
 Group:          Development/Tools/Building
 Summary:        An OBS source service: reformats a spec file to SUSE standard.
 Version:        0.1
-Release:        1
+Release:        3
 Source:         format_spec_file
 Source1:        format_spec_file.service
 Source2:        prepare_spec
@@ -55,4 +55,5 @@
 %defattr(-,root,root)
 %dir /usr/lib/obs
 /usr/lib/obs/service
+
 %changelog

++++++ format_spec_file ++++++
--- /var/tmp/diff_new_pack.IMHV5m/_old  2011-06-17 11:36:06.000000000 +0200
+++ /var/tmp/diff_new_pack.IMHV5m/_new  2011-06-17 11:36:06.000000000 +0200
@@ -20,7 +20,13 @@
 
 RETURN=0
 for i in *.spec; do
+  if [ "$i" == '*.spec' ]; then
+    echo "WARNING: no spec file found"
+    exit 0
+  fi
   /usr/lib/obs/service/format_spec_file.files/prepare_spec "$i" > 
"$MYOUTDIR/$i" || RETURN=1
+  # remove all file files which are indendical to committed files
+  cmp -s "$i" "$MYOUTDIR/$i" && rm "$MYOUTDIR/$i"
 done
 
 exit $RETURN

++++++ prepare_spec ++++++
--- /var/tmp/diff_new_pack.IMHV5m/_old  2011-06-17 11:36:06.000000000 +0200
+++ /var/tmp/diff_new_pack.IMHV5m/_new  2011-06-17 11:36:06.000000000 +0200
@@ -592,7 +592,7 @@
     if ($line =~ /^%package/ && $line !~ /\\$/) {
        $line =~ s/^(%\w+)/lc($1)/e;
        my ($current_package, $current_lang) = set_current_pkg ( $line );
-       unless ($please_replace{"XXXLICENSE $current_package"}) {
+       unless ($please_replace{"XXXLICENSE $current_package"} || 
!$replace_hash{"XXXLICENSE $current_package"}) {
                print $replace_hash{"XXXLICENSE $current_package"}."\n";
        }
     }


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to