Hello community, here is the log from the commit of package rubygem-packaging_rake_tasks for openSUSE:Factory checked in at 2016-04-07 13:34:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-packaging_rake_tasks (Old) and /work/SRC/openSUSE:Factory/.rubygem-packaging_rake_tasks.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-packaging_rake_tasks" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-packaging_rake_tasks/rubygem-packaging_rake_tasks.changes 2016-03-29 09:52:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-packaging_rake_tasks.new/rubygem-packaging_rake_tasks.changes 2016-04-07 13:34:47.000000000 +0200 @@ -1,0 +2,8 @@ +Fri Apr 1 12:16:56 UTC 2016 - mvidner@suse.com + +- Fixed snapper submission (bsc#973607) + - check:changelog only before osc:sr + - check:changelog depends on package, not the reverse +- 1.2.1 + +------------------------------------------------------------------- Old: ---- packaging_rake_tasks-1.2.0.gem New: ---- packaging_rake_tasks-1.2.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-packaging_rake_tasks.spec ++++++ --- /var/tmp/diff_new_pack.2m1KFH/_old 2016-04-07 13:34:47.000000000 +0200 +++ /var/tmp/diff_new_pack.2m1KFH/_new 2016-04-07 13:34:47.000000000 +0200 @@ -17,7 +17,7 @@ Name: rubygem-packaging_rake_tasks -Version: 1.2.0 +Version: 1.2.1 Release: 0 %define mod_name packaging_rake_tasks %define mod_full_name %{mod_name}-%{version} ++++++ packaging_rake_tasks-1.2.0.gem -> packaging_rake_tasks-1.2.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2015-05-06 10:39:43.000000000 +0200 +++ new/VERSION 2016-04-01 14:59:20.000000000 +0200 @@ -1 +1 @@ -1.2.0 +1.2.1 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/check_changelog.rake new/lib/tasks/check_changelog.rake --- old/lib/tasks/check_changelog.rake 2015-05-06 10:39:43.000000000 +0200 +++ new/lib/tasks/check_changelog.rake 2016-04-01 14:59:20.000000000 +0200 @@ -18,9 +18,10 @@ namespace "check" do desc "Checking for new IDs (bugzilla,fate,...) in *.changes file" - task :changelog do + task :changelog => :package do if obs_sr_project.nil? - $stderr.puts "Skipping the changelog check because OBS submit request project "\ + $stderr.puts "Skipping the changelog check because " \ + "OBS submit request project " \ "is not defined (obs_sr_project)." if verbose next end @@ -29,17 +30,22 @@ copy_sources puts "Checking IDs in *.changes file" if verbose - # Checking makes only sense if the version in the *.spec file has been changed + # Checking makes only sense if the version in the *.spec file + # has been changed if version_changed?( "#{osc_checkout_dir}/#{package_name}.spec" ) Dir.chdir(osc_checkout_dir) do # Tags described in https://github.com/openSUSE/osc-plugin-factory/blob/e12bc02e9817277335ce6ada... - cmd = "osc -A '#{obs_api}' cat '#{obs_sr_project}' '#{package_name}' "\ - "'#{package_name}.changes' | diff - '#{package_name}.changes'" + cmd = "osc -A '#{obs_api}' cat " \ + " '#{obs_sr_project}' '#{package_name}' '#{package_name}.changes' "\ + "| diff - '#{package_name}.changes'" puts cmd if verbose ret = `bash -c '#{cmd}'` - unless ret.match(/(bnc|fate|boo|bsc|bgo)#[0-9]+/i) || ret.match(/cve-[0-9]{4}-[0-9]+/i) - raise "Stopping, missing new bugzilla or fate entry in the *.changes file.\n"\ - "e.g. bnc#<number>, fate#<number>, boo#<number>, bsc#<number>, bgo#<number>, cve-<number>" + unless ret.match(/(bnc|fate|boo|bsc|bgo)#[0-9]+/i) || + ret.match(/cve-[0-9]{4}-[0-9]+/i) + raise "Stopping, missing new bugzilla or fate entry " \ + "in the *.changes file.\n"\ + "e.g. bnc#<number>, fate#<number>, boo#<number>, bsc#<number>, " \ + "bgo#<number>, cve-<number>" end end else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/osc.rake new/lib/tasks/osc.rake --- old/lib/tasks/osc.rake 2015-05-06 10:39:43.000000000 +0200 +++ new/lib/tasks/osc.rake 2016-04-01 14:59:20.000000000 +0200 @@ -206,7 +206,7 @@ end desc "Create submit request from updated devel project to target project if version change." - task :sr => "osc:commit" do + task :sr => ["check:changelog", "osc:commit"] do begin checkout unless version_changed?( "#{package_dir}/#{package_name}.spec" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tasks/package.rake new/lib/tasks/package.rake --- old/lib/tasks/package.rake 2015-05-06 10:39:43.000000000 +0200 +++ new/lib/tasks/package.rake 2016-04-01 14:59:20.000000000 +0200 @@ -20,5 +20,5 @@ desc 'Prepare sources for rpm build' # just call the checks and then build the package -task :package => ["check:syntax", "check:committed", "check:changelog", :test, :tarball] +task :package => ["check:syntax", "check:committed", :test, :tarball] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-03-21 14:31:36.000000000 +0100 +++ new/metadata 2016-04-01 14:59:20.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: packaging_rake_tasks version: !ruby/object:Gem::Version - version: 1.2.0 + version: 1.2.1 platform: ruby authors: - Josef Reidinger autorequire: bindir: bin cert_chain: [] -date: 2016-03-21 00:00:00.000000000 Z +date: 2016-04-01 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -64,7 +64,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.4.5.1 +rubygems_version: 2.2.2 signing_key: specification_version: 4 summary: Rake tasks providing tasks to package project in git and integration with