Hello community, here is the log from the commit of package linuxrc-devtools for openSUSE:Factory checked in at 2019-06-06 18:19:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linuxrc-devtools (Old) and /work/SRC/openSUSE:Factory/.linuxrc-devtools.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "linuxrc-devtools" Thu Jun 6 18:19:00 2019 rev:9 rq:708041 version:0.16 Changes: -------- --- /work/SRC/openSUSE:Factory/linuxrc-devtools/linuxrc-devtools.changes 2019-05-22 11:15:28.586539933 +0200 +++ /work/SRC/openSUSE:Factory/.linuxrc-devtools.new.4811/linuxrc-devtools.changes 2019-06-06 18:19:02.572655798 +0200 @@ -1,0 +2,7 @@ +Thu Jun 6 08:26:54 UTC 2019 - wfeldt@opensuse.org + +- merge gh#openSUSE/linuxrc-devtools#22 +- fix handling of spec file with several 'Name' definitions +- 0.16 + +-------------------------------------------------------------------- Old: ---- linuxrc-devtools-0.15.tar.xz New: ---- linuxrc-devtools-0.16.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linuxrc-devtools.spec ++++++ --- /var/tmp/diff_new_pack.0S4Br2/_old 2019-06-06 18:19:03.296655586 +0200 +++ /var/tmp/diff_new_pack.0S4Br2/_new 2019-06-06 18:19:03.300655585 +0200 @@ -17,7 +17,7 @@ Name: linuxrc-devtools -Version: 0.15 +Version: 0.16 Release: 0 Source: %{name}-%{version}.tar.xz ++++++ linuxrc-devtools-0.15.tar.xz -> linuxrc-devtools-0.16.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-devtools-0.15/VERSION new/linuxrc-devtools-0.16/VERSION --- old/linuxrc-devtools-0.15/VERSION 2019-01-29 13:22:26.000000000 +0100 +++ new/linuxrc-devtools-0.16/VERSION 2019-06-06 10:26:54.000000000 +0200 @@ -1 +1 @@ -0.15 +0.16 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-devtools-0.15/changelog new/linuxrc-devtools-0.16/changelog --- old/linuxrc-devtools-0.15/changelog 2019-01-29 13:22:26.000000000 +0100 +++ new/linuxrc-devtools-0.16/changelog 2019-06-06 10:26:54.000000000 +0200 @@ -1,3 +1,7 @@ +2019-06-06: 0.16 + - merge gh#openSUSE/linuxrc-devtools#22 + - fix handling of spec file with several 'Name' definitions + 2019-01-29: 0.15 - merge gh#openSUSE/linuxrc-devtools#16 - avoid identical timestamps in changelog and make default email diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-devtools-0.15/tobs new/linuxrc-devtools-0.16/tobs --- old/linuxrc-devtools-0.15/tobs 2019-01-29 13:22:26.000000000 +0100 +++ new/linuxrc-devtools-0.16/tobs 2019-06-06 10:26:54.000000000 +0200 @@ -534,14 +534,22 @@ } if(/^Name:(\s*)(\S+)/) { - $spec_name = $2; + # Be careful: if there are several 'Name:' lines don't do fancy stuff + # as we are not sure which one is correct (think of %if's in the + # spec). + if(defined $spec_name) { + $spec_name = ''; + } + else { + $spec_name = $2; + } } if(/^Source:(\s*)((\S+)\.tar\.(bz2|gz|xz))/) { $config->{rm_archive} = $2; my $s = $1; my $n = $config->{archive}; - $config->{rm_archive} =~ s/%\{name\}/$spec_name/g; + $config->{rm_archive} =~ s/%\{name\}/$spec_name/g if $spec_name ne ''; $config->{rm_archive} =~ s/%\{version\}/$spec_version/g; $n =~ s/^$spec_name\-/%\{name\}-/ if $spec_name ne ''; $n =~ s/\-$config->{version}\.tar/-%\{version\}.tar/ if $spec_version ne "";