Hello community,

here is the log from the commit of package obs-service-format_spec_file for 
openSUSE:Factory checked in at 2019-11-11 12:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-format_spec_file (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new.2990 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-format_spec_file"

Mon Nov 11 12:57:49 2019 rev:77 rq:745988 version:20191106

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-format_spec_file/obs-service-format_spec_file.changes
        2019-04-17 10:05:02.838549519 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new.2990/obs-service-format_spec_file.changes
      2019-11-11 12:57:51.577529514 +0100
@@ -1,0 +2,8 @@
+Wed Nov 06 12:38:13 UTC 2019 - [email protected]
+
+- Update to version 20191106:
+  * treat %global like %define (handle issue#17) (#38)
+  * change copyright entry to SUSE LLC (handle issue#35) (#36)
+  * reformat url as uppercase URL (handle issue#24) (#37)
+
+-------------------------------------------------------------------

Old:
----
  obs-service-format_spec_file-20190411.obscpio

New:
----
  obs-service-format_spec_file-20191106.obscpio

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

Other differences:
------------------
++++++ obs-service-format_spec_file.spec ++++++
--- /var/tmp/diff_new_pack.DS9Zx7/_old  2019-11-11 12:57:52.605530603 +0100
+++ /var/tmp/diff_new_pack.DS9Zx7/_new  2019-11-11 12:57:52.605530603 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           obs-service-format_spec_file
-Version:        20190411
+Version:        20191106
 Release:        0
 Summary:        An OBS source service: reformats a spec file to SUSE standard
 License:        GPL-2.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.DS9Zx7/_old  2019-11-11 12:57:52.641530641 +0100
+++ /var/tmp/diff_new_pack.DS9Zx7/_new  2019-11-11 12:57:52.641530641 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/openSUSE/obs-service-format_spec_file.git</param>
-              <param 
name="changesrevision">8648dfd49280772d1a9d041bdb94f389a0c0559a</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">690457063bcca65c25a9b39270cd03915659b85c</param></service></servicedata>
\ No newline at end of file

++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.DS9Zx7/_old  2019-11-11 12:57:52.657530658 +0100
+++ /var/tmp/diff_new_pack.DS9Zx7/_new  2019-11-11 12:57:52.657530658 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-format-spec-file
-Version: 20190411
+Version: 20191106
 Binary: obs-service-format-spec-file
 Maintainer: Adrian Schroeter <[email protected]>
 Architecture: all

++++++ obs-service-format_spec_file-20190411.obscpio -> 
obs-service-format_spec_file-20191106.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/obs-service-format_spec_file-20190411/prepare_spec 
new/obs-service-format_spec_file-20191106/prepare_spec
--- old/obs-service-format_spec_file-20190411/prepare_spec      2019-04-11 
12:59:17.000000000 +0200
+++ new/obs-service-format_spec_file-20191106/prepare_spec      2019-11-06 
11:49:10.000000000 +0100
@@ -64,7 +64,7 @@
   'Suggests',
   'Summary',
   'Supplements',
-  'Url',
+  'URL',
 );
 
 my $global_tags_re = '^\s*(' . join("|", @global_tags_list) . ')\s*:';
@@ -80,8 +80,6 @@
 sub capitalize_case($) {
   my ($tag) = @_;
 
-  return $tag if $tag =~ m/Url|URL/;
-
   $tag = lc($tag);
 
   $tag =~ s/docdir/DocDir/i;
@@ -90,6 +88,7 @@
   $tag =~ s/source/Source/i;
   $tag =~ s/req/Req/i;
   $tag =~ s/prov/Prov/i;
+  $tag =~ s/url/URL/i;
   $tag =~ s/^(\w)/uc($1)/e;
 
   return $tag;
@@ -362,7 +361,7 @@
 
     if ( /^#/ && $current_section ne "description") {
       warn "$_ $current_section\n" if $debug;
-      if ( $print_comments eq "true" || $readspec[0] =~ /^%define/ || 
$readspec[0] =~ /^%if/) {
+      if ( $print_comments eq "true" || $readspec[0] =~ /^%define/ || 
$readspec[0] =~ /^%global/ || $readspec[0] =~ /^%if/) {
        push @oldspec, $_;
       }
       next;
@@ -378,7 +377,7 @@
       next;
     }
 
-    if ( /^\s*%if/ || /^\s*%\{/ || /^\s*%define/ || /^\s*%el/ || /^\s*%endif/ 
) {
+    if ( /^\s*%if/ || /^\s*%\{/ || /^\s*%define/ || /^\s*%global/ || /^\s*%el/ 
|| /^\s*%endif/ ) {
       change_section("header") if ($current_section eq "description");
       push @oldspec, $_;
       if ( /^\s*%if\s/ ) {
@@ -417,7 +416,7 @@
        } elsif ($ifhandler->{"disabled"} == 0 && $ifhandler->{"depth"} == 1 && 
$ifhandler->{"last_if_if"} == 1) {
          $ifhandler->{"disabled"} = 1;
        }
-      } elsif ( /^\s*%define\s/ ) {
+      } elsif ( /^\s*%define\s/ || /^\s*%global\s/ ) {
        my @args = split (/\s+/,$_);
        $_ =~ s/[\{\}\"]//g for (@args);
        $args[2] =~ s/\Q$_\E/$definelist->{$_}/g for sort { length($b) <=> 
length($a) } keys (%{$definelist});
@@ -588,7 +587,7 @@
 open ( SPE , '<', "$specfile" ) || die("open $specfile: $!\n");
 while ( <SPE> ) {
   chomp();
-  if ( /^%define/ ) {
+  if ( /^%define/ || /^%global/ ) {
     my @args = split (/\s+/,$_);
     $_ =~ s/[\{\}\"]//g for (@args);
     $args[2] =~ s/\Q$_\E/$xdefinelist->{$_}/ for (sort { length($b) <=> 
length($a) } keys (%{$xdefinelist}));
@@ -669,7 +668,7 @@
 
 my $thisyear = localtime->year() + 1900;
 
-unshift @copyrights, "# Copyright (c) $thisyear SUSE LINUX GmbH, Nuernberg, 
Germany.";
+unshift @copyrights, "# Copyright (c) $thisyear SUSE LLC.";
 
 my $copy_list = join("\n", @copyrights);
 

++++++ obs-service-format_spec_file.obsinfo ++++++
--- /var/tmp/diff_new_pack.DS9Zx7/_old  2019-11-11 12:57:52.785530793 +0100
+++ /var/tmp/diff_new_pack.DS9Zx7/_new  2019-11-11 12:57:52.785530793 +0100
@@ -1,5 +1,5 @@
 name: obs-service-format_spec_file
-version: 20190411
-mtime: 1554980357
-commit: 8648dfd49280772d1a9d041bdb94f389a0c0559a
+version: 20191106
+mtime: 1573037350
+commit: 690457063bcca65c25a9b39270cd03915659b85c
 


Reply via email to