Hello community,

here is the log from the commit of package obs-service-format_spec_file for 
openSUSE:Factory
checked in at Fri Sep 9 12:23:15 CEST 2011.



--------
--- obs-service-format_spec_file/obs-service-format_spec_file.changes   
2011-08-08 16:06:29.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/obs-service-format_spec_file/obs-service-format_spec_file.changes
      2011-09-07 13:34:56.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Sep  7 13:34:45 CEST 2011 - dmuel...@suse.de
+
+- remove %%debug_package insertion
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ obs-service-format_spec_file.spec ++++++
--- /var/tmp/diff_new_pack.kpVhAa/_old  2011-09-09 12:23:11.000000000 +0200
+++ /var/tmp/diff_new_pack.kpVhAa/_new  2011-09-09 12:23:11.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:        9
+Release:        11
 Source:         format_spec_file
 Source1:        format_spec_file.service
 Source2:        prepare_spec

++++++ prepare_spec ++++++
--- /var/tmp/diff_new_pack.kpVhAa/_old  2011-09-09 12:23:11.000000000 +0200
+++ /var/tmp/diff_new_pack.kpVhAa/_new  2011-09-09 12:23:11.000000000 +0200
@@ -99,28 +99,6 @@
     if ($current_section ne "description" && $oldspec[-1] !~ /^\s*$/);
 }
 
-sub maybe_add_debug_package()
-{
-  if ( $ENV{'BUILD_DEBUG_FLAGS'}
-      && ( !$nosrc_result || $base_package =~ /^kernel/ || $base_package =~ 
/^java/ || $base_package =~ /^texlive-bin/ || $base_package =~ /^glibc/ ) 
-      && !$nodebuginfo
-      && !$had_debug_package ) 
-    {
-      my @spec_back;
-      while(1) {
-        my $line = pop @oldspec;
-        unshift @spec_back, $line;
-        next if ($line =~ /^\s*$/);
-        next if ($line =~ /^\s*%if\b/);
-        last;
-      }
-      # insert the %debug_package just before the first %if
-      push @oldspec, shift @spec_back;
-      push @oldspec, "%debug_package", @spec_back;
-      $had_debug_package = 1;
-    }
-}
-
 sub change_section($)
 {
   my ($new_section) = @_;
@@ -331,7 +309,6 @@
       } else {
        change_section("prep");
       }
-      maybe_add_debug_package();
       $_ =~ s/^(%\w+)/lc($1)/e;
       if ($debug) {
        warn "key: $_ value: $definelist->{$_}\n" for (sort { length($b) <=> 
length($a) } keys (%{$definelist}));


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to