Hello community,

here is the log from the commit of package rubygem-vagrant-spec for 
openSUSE:Factory checked in at 2020-03-11 18:54:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-vagrant-spec (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-vagrant-spec.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-vagrant-spec"

Wed Mar 11 18:54:10 2020 rev:2 rq:783773 version:0.0.1.59d8515.git

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-vagrant-spec/rubygem-vagrant-spec.changes    
    2019-04-26 22:54:39.497307087 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-vagrant-spec.new.3160/rubygem-vagrant-spec.changes
      2020-03-11 18:55:52.723689163 +0100
@@ -1,0 +2,14 @@
+Wed Mar 11 10:39:31 UTC 2020 - Dan Čermák <dcer...@suse.com>
+
+- Update to 59d8515
+
+  * Update travis ruby versions
+  * Fix tabs in README
+  * Add license accept through config file
+  * Try to introduce chef license configs
+
+  Add: 0001-Add-shebangs-to-scripts-in-acceptance-support-skelet.patch
+
+  Run %fdupes in %install
+
+-------------------------------------------------------------------

Old:
----
  vagrant-spec-0.0.1.abfc344.git.gem

New:
----
  0001-Add-shebangs-to-scripts-in-acceptance-support-skelet.patch
  vagrant-spec-0.0.1.59d8515.git.gem

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

Other differences:
------------------
++++++ rubygem-vagrant-spec.spec ++++++
--- /var/tmp/diff_new_pack.ndZW0X/_old  2020-03-11 18:55:53.199689376 +0100
+++ /var/tmp/diff_new_pack.ndZW0X/_new  2020-03-11 18:55:53.199689376 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-vagrant-spec
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,40 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define mod_name vagrant-spec
+%define mod_full_name %{mod_name}-%{version}
 #
 # This file was generated with a gem2rpm.yml and not just plain gem2rpm.
 # All sections marked as MANUAL, license headers, summaries and descriptions
 # can be maintained in that file. Please consult this file before editing any
 # of those fields
 #
-
 Name:           rubygem-vagrant-spec
-Version:        0.0.1.abfc344.git
+Version:        0.0.1.59d8515.git
 Release:        0
-%define mod_name vagrant-spec
-%define mod_full_name %{mod_name}-%{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby}
-BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  update-alternatives
-Url:            https://github.com/mitchellh/vagrant-spec
-# MANUALLY modified:
-Source:         %{mod_full_name}.gem
-Source1:        gem2rpm.yml
 Summary:        Tool and library for testing Vagrant plugins
 License:        MPL-2.0
 Group:          Development/Languages/Ruby
+URL:            https://github.com/mitchellh/vagrant-spec
+# MANUALLY modified:
+Source:         %{mod_full_name}.gem
+Source1:        gem2rpm.yml
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
+BuildRequires:  update-alternatives
+# FIXME: use proper Requires(pre/post/preun/...)
 PreReq:         update-alternatives
+# MANUAL
+BuildRequires:  fdupes
+# /MANUAL
+# MANUAL
+Patch0:         0001-Add-shebangs-to-scripts-in-acceptance-support-skelet.patch
+# /MANUAL
 
 %description
 vagrant-spec is a both a specification of how Vagrant and its various
@@ -52,7 +57,12 @@
 components. The RSpec components are built on top of the helper methods so
 that the test library can be used with your test framework of choice, but the
 entire tool is geared very heavily towards RSpec.
+
 %prep
+%gem_unpack
+%patch0 -p1
+find -type f -print0 | xargs -0 touch -r %{SOURCE0}
+%{gem_build}
 
 %build
 
@@ -63,9 +73,9 @@
   -f
 # MANUAL
 find %{buildroot}/%{_libdir}/ruby/gems \( -name .gitignore -o -name 
.travis.yml \) | xargs rm
+%fdupes %{buildroot}/%{_libdir}/ruby/gems
 # /MANUAL
 
-
 %gem_packages
 
 %changelog

++++++ 0001-Add-shebangs-to-scripts-in-acceptance-support-skelet.patch ++++++
>From 42019150df55776531d2a9d5d6d7825f47e3feae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcer...@suse.com>
Date: Wed, 11 Mar 2020 11:56:04 +0100
Subject: [PATCH] Add shebangs to scripts in
 acceptance/support-skeletons/triggers-advanced

---
 acceptance/support-skeletons/triggers-advanced/fail.sh   | 2 ++
 acceptance/support-skeletons/triggers-advanced/script.sh | 2 ++
 acceptance/support-skeletons/triggers-advanced/test.sh   | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/acceptance/support-skeletons/triggers-advanced/fail.sh 
b/acceptance/support-skeletons/triggers-advanced/fail.sh
index 9dae856..3b74388 100755
--- a/acceptance/support-skeletons/triggers-advanced/fail.sh
+++ b/acceptance/support-skeletons/triggers-advanced/fail.sh
@@ -1 +1,3 @@
+#!/bin/sh
+
 fail
diff --git a/acceptance/support-skeletons/triggers-advanced/script.sh 
b/acceptance/support-skeletons/triggers-advanced/script.sh
index 6c5a821..2552459 100755
--- a/acceptance/support-skeletons/triggers-advanced/script.sh
+++ b/acceptance/support-skeletons/triggers-advanced/script.sh
@@ -1 +1,3 @@
+#!/bin/sh
+
 echo "Hello there from `hostname -f`"
diff --git a/acceptance/support-skeletons/triggers-advanced/test.sh 
b/acceptance/support-skeletons/triggers-advanced/test.sh
index a191dfe..7d02b74 100755
--- a/acceptance/support-skeletons/triggers-advanced/test.sh
+++ b/acceptance/support-skeletons/triggers-advanced/test.sh
@@ -1 +1,3 @@
+#!/bin/sh
+
 echo 'This is a test'
-- 
2.25.1

++++++ gem2rpm.yml ++++++
--- /var/tmp/diff_new_pack.ndZW0X/_old  2020-03-11 18:55:53.235689392 +0100
+++ /var/tmp/diff_new_pack.ndZW0X/_new  2020-03-11 18:55:53.235689392 +0100
@@ -71,11 +71,13 @@
 # ## used by gem2rpm
 # :disable_automatic_rdoc_dep: true
 # ## used by gem2rpm
-# :preamble: |-
-#   BuildRequires: foobar
+:preamble: |-
+  BuildRequires: fdupes
 #   Requires: foobar
 # ## used by gem2rpm
-# :patches:
+:patches:
+  # https://github.com/hashicorp/vagrant-spec/pull/32
+  0001-Add-shebangs-to-scripts-in-acceptance-support-skelet.patch: -p1
 # ## used by gem2rpm
 :sources:
 # - foo.desktop
@@ -89,6 +91,7 @@
 # ## used by gem2rpm
 :post_install: |-
   find %{buildroot}/%{_libdir}/ruby/gems \( -name .gitignore -o -name 
.travis.yml \) | xargs rm
+  %fdupes %{buildroot}/%{_libdir}/ruby/gems
 #   # delete custom files here or do other fancy stuff
 #   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
 # ## used by gem2rpm

++++++ vagrant-spec-0.0.1.abfc344.git.gem -> vagrant-spec-0.0.1.59d8515.git.gem 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2019-04-25 22:48:11.000000000 +0200
+++ new/.travis.yml     2020-03-11 11:34:57.000000000 +0100
@@ -1,9 +1,9 @@
 sudo: false
 language: ruby
 rvm:
-    - 2.3.7
-    - 2.4.4
-    - 2.5.1
+    - 2.4.6
+    - 2.5.3
+    - 2.6.5
 env:
   global:
     - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2019-04-25 22:48:11.000000000 +0200
+++ new/README.md       2020-03-11 11:34:57.000000000 +0100
@@ -19,19 +19,19 @@
 
 - [Prerequisites](#prerequisites)
 - [Installation](#installation)
-       - [Standalone](#standalone)
-       - [Plugin Development Environment](#plugin-development-environment)
+  - [Standalone](#standalone)
+  - [Plugin Development Environment](#plugin-development-environment)
 - [Running Acceptance Tests](#running-acceptance-tests)
-       - [Configuration](#configuration)
-       - [Running](#running)
-       - [Provider's Acceptance Specs](#provider-s-acceptance-specs)
+  - [Configuration](#configuration)
+  - [Running](#running)
+  - [Provider's Acceptance Specs](#provider-s-acceptance-specs)
 - [Writing Acceptance Tests](#writing-acceptance-tests)
-       - [Configuring Component Paths](#configuring-component-paths)
-       - [Standalone Components](#standalone-components)
-       - [Provider Parameterized 
Components](#provider-parameterized-components)
-       - [Helpers](#helpers)
-               - [Context: "acceptance"](#context-acceptance)
-               - [Matcher: "exit_with"](#matcher-exit_with)
+  - [Configuring Component Paths](#configuring-component-paths)
+  - [Standalone Components](#standalone-components)
+  - [Provider Parameterized Components](#provider-parameterized-components)
+  - [Helpers](#helpers)
+    - [Context: "acceptance"](#context-acceptance)
+    - [Matcher: "exit_with"](#matcher-exit_with)
 
 ## Prerequisites
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/acceptance/support-skeletons/provisioner_chef_solo/CustomConfiguration.chef 
new/acceptance/support-skeletons/provisioner_chef_solo/CustomConfiguration.chef
--- 
old/acceptance/support-skeletons/provisioner_chef_solo/CustomConfiguration.chef 
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/acceptance/support-skeletons/provisioner_chef_solo/CustomConfiguration.chef 
    2020-03-11 11:34:57.000000000 +0100
@@ -0,0 +1 @@
+Chef::Config.chef_license = 'accept'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile 
new/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile
--- old/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile  
2019-04-25 22:48:11.000000000 +0200
+++ new/acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile  
2020-03-11 11:34:57.000000000 +0100
@@ -2,6 +2,7 @@
   config.vm.box = "box"
 
   config.vm.provision "chef_solo" do |chef|
+    chef.custom_config_path = "CustomConfiguration.chef"
     chef.cookbooks_path = "basic/cookbooks"
     chef.run_list = ["recipe[foo]"]
   end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-04-25 22:48:11.000000000 +0200
+++ new/metadata        2020-03-11 11:34:57.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: vagrant-spec
 version: !ruby/object:Gem::Version
-  version: 0.0.1.abfc344.git
+  version: 0.0.1.59d8515.git
 platform: ruby
 authors:
 - Mitchell Hashimoto
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-04-25 00:00:00.000000000 Z
+date: 2020-03-11 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: childprocess
@@ -123,6 +123,7 @@
 - acceptance/support-plugins/vagrant-spec-helper-basic/lib/vshb/command.rb
 - acceptance/support-skeletons/network_forwarded_port/Vagrantfile
 - acceptance/support-skeletons/network_private_network/Vagrantfile
+- acceptance/support-skeletons/provisioner_chef_solo/CustomConfiguration.chef
 - acceptance/support-skeletons/provisioner_chef_solo/Vagrantfile
 - 
acceptance/support-skeletons/provisioner_chef_solo/basic-roles/cookbooks/bar/recipes/default.rb
 - acceptance/support-skeletons/provisioner_chef_solo/basic-roles/roles/foo.rb


Reply via email to