Hello community,

here is the log from the commit of package obs-service-format_spec_file for 
openSUSE:Factory
checked in at Mon Jul 4 09:49:00 CEST 2011.



--------
--- obs-service-format_spec_file/obs-service-format_spec_file.changes   
2011-06-17 09:27:46.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/obs-service-format_spec_file/obs-service-format_spec_file.changes
      2011-07-04 00:17:27.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul  4 00:16:05 CEST 2011 - [email protected]
+
+- leave Version lines intact (fix issue with multiple version
+  lines in a package, for example in if-constructs) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ obs-service-format_spec_file.spec ++++++
--- /var/tmp/diff_new_pack.wFXzZp/_old  2011-07-04 09:48:37.000000000 +0200
+++ /var/tmp/diff_new_pack.wFXzZp/_new  2011-07-04 09:48:37.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:        3
+Release:        5
 Source:         format_spec_file
 Source1:        format_spec_file.service
 Source2:        prepare_spec

++++++ prepare_spec ++++++
--- /var/tmp/diff_new_pack.wFXzZp/_old  2011-07-04 09:48:37.000000000 +0200
+++ /var/tmp/diff_new_pack.wFXzZp/_new  2011-07-04 09:48:37.000000000 +0200
@@ -450,7 +450,7 @@
         $version{$current_package} = $_;
         $version{$current_package} =~ s/^Version:\s*(.*)\s*/$1/;
         $replace_hash{"XXXVERSION $current_package"} = 
sprintf("%-16s%s","Version:",$version{$current_package});
-        push @oldspec, "XXXVERSION $current_package";
+        push @oldspec, $replace_hash{"XXXVERSION $current_package"};
         push @oldspec, "XXXRELEASE $current_package";
         next;
       }


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



Remember to have fun...

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

Reply via email to