Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2018-04-04 11:05:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Wed Apr 4 11:05:58 2018 rev:77 rq:593145 version:20180403.78ea7dd
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2018-03-31 15:37:43.847853960 +0200
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new/openSUSE-release-tools.changes
2018-04-04 11:06:16.882163493 +0200
@@ -1,0 +2,6 @@
+Tue Apr 03 10:25:05 UTC 2018 - [email protected]
+
+- Update to version 20180403.78ea7dd:
+ * check_source: skip checks for packages without spec file
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20180329.1ab84c3.obscpio
New:
----
openSUSE-release-tools-20180403.78ea7dd.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.3Q2Yap/_old 2018-04-04 11:06:20.590029112 +0200
+++ /var/tmp/diff_new_pack.3Q2Yap/_new 2018-04-04 11:06:20.590029112 +0200
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20180329.1ab84c3
+Version: 20180403.78ea7dd
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.3Q2Yap/_old 2018-04-04 11:06:20.642027227 +0200
+++ /var/tmp/diff_new_pack.3Q2Yap/_new 2018-04-04 11:06:20.642027227 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">1ab84c3cd672bd77e34a279869bc66634fb31e8c</param>
+ <param
name="changesrevision">78ea7dd133092e14cd15ac141d6c551730df5faa</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20180329.1ab84c3.obscpio ->
openSUSE-release-tools-20180403.78ea7dd.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20180329.1ab84c3/check_source.pl
new/openSUSE-release-tools-20180403.78ea7dd/check_source.pl
--- old/openSUSE-release-tools-20180329.1ab84c3/check_source.pl 2018-03-29
17:39:14.000000000 +0200
+++ new/openSUSE-release-tools-20180403.78ea7dd/check_source.pl 2018-04-03
12:11:33.000000000 +0200
@@ -29,18 +29,29 @@
rename("$dir/_service", "$dir/_service.bak") || die "rename failed";
}
-if (!-f "$dir/$bname.changes") {
- print "A $bname.changes is missing. Packages submitted as FooBar, need to
have a FooBar.changes file with a format created by osc vc\n";
+for my $file (glob("$dir/_service:*")) {
+ $file=basename($file);
+ print "Found _service generate file $file in checkout. Please clean this
up first.";
$ret = 1;
}
-if (!-f "$dir/$bname.spec") {
- print "A $bname.spec is missing. Packages submitted as FooBar, need to
have a FooBar.spec file\n";
- $ret = 1;
-}
+my @specs = map basename($_), glob("$dir/*.spec");
-# further we can't check
-exit($ret) if ($ret);
+if (@specs) {
+ if (!-f "$dir/$bname.changes") {
+ print "A $bname.changes is missing. Packages submitted as FooBar, need
to have a FooBar.changes file with a format created by osc vc\n";
+ $ret = 1;
+ }
+
+ if (!-f "$dir/$bname.spec") {
+ print "A $bname.spec is missing. Packages submitted as FooBar, need to
have a FooBar.spec file\n";
+ $ret = 1;
+ }
+ exit($ret) if ($ret);
+} else {
+ # package without spec files, eg kiwi only
+ exit($ret);
+}
open(SPEC, "$dir/$bname.spec");
my $spec = join("", <SPEC>);
@@ -58,17 +69,11 @@
$ret = 1;
}
-foreach my $file (glob("$dir/_service:*")) {
- $file=basename($file);
- print "Found _service generate file $file in checkout. Please clean this
up first.";
- $ret = 1;
-}
-
# Check that we have for each spec file a changes file - and that at least one
# contains changes
my $changes_updated = 0;
-for my $spec (glob("$dir/*.spec")) {
- $changes = basename($spec);
+for my $spec (@specs) {
+ $changes = $spec;
$changes =~ s/\.spec$/.changes/;
if (!-f "$dir/$changes") {
print "A $changes is missing. Packages submitted as FooBar, need to
have a FooBar.changes file with a format created by osc vc\n";
@@ -104,7 +109,7 @@
my %patches = ();
-foreach my $test (glob("/usr/lib/obs/service/source_validators/*")) {
+for my $test (glob("/usr/lib/obs/service/source_validators/*")) {
next if (!-f "$test");
my $checkivsd = `/bin/bash $test --batchmode $dir $old < /dev/null 2>&1`;
if ($?) {
@@ -242,7 +247,7 @@
}
chdir($odir);
-foreach my $rpmlint (glob("$dir/*rpmlintrc")) {
+for my $rpmlint (glob("$dir/*rpmlintrc")) {
open(RPMLINTRC, $rpmlint);
while (<RPMLINTRC>) {
if (m/^\s*setBadness/) {
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.3Q2Yap/_old 2018-04-04 11:06:21.258004903 +0200
+++ /var/tmp/diff_new_pack.3Q2Yap/_new 2018-04-04 11:06:21.262004758 +0200
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20180329.1ab84c3
-mtime: 1522337954
-commit: 1ab84c3cd672bd77e34a279869bc66634fb31e8c
+version: 20180403.78ea7dd
+mtime: 1522750293
+commit: 78ea7dd133092e14cd15ac141d6c551730df5faa