From 20eea65e6bc65a0e7edeb92db0c71d9e700f5423b429752c91ac4561032cd02e Mon Sep 17 00:00:00 2001 From: Manuel Schnitzer Date: Mon, 27 Jan 2020 10:09:10 +0000 Subject: [PATCH] Accepting request 767587 from home:dancermak:branches:devel:languages:ruby:extensions New upstream release 2.1.0 OBS-URL: https://build.opensuse.org/request/show/767587 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-rubyzip?expand=0&rev=33 --- rubygem-rubyzip.changes | 35 +++++++++++++++++++++++++++++++++++ rubygem-rubyzip.rpmlintrc | 1 + rubygem-rubyzip.spec | 22 ++++++++++------------ rubyzip-2.0.0.gem | 3 --- rubyzip-2.1.0.gem | 3 +++ 5 files changed, 49 insertions(+), 15 deletions(-) create mode 100644 rubygem-rubyzip.rpmlintrc delete mode 100644 rubyzip-2.0.0.gem create mode 100644 rubyzip-2.1.0.gem diff --git a/rubygem-rubyzip.changes b/rubygem-rubyzip.changes index ba90fc0..a7d843f 100644 --- a/rubygem-rubyzip.changes +++ b/rubygem-rubyzip.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Jan 27 08:28:47 UTC 2020 - Dan Čermák + +- New upstream release 2.1.0 + + - Fix (at least partially) the `restore_times` and `restore_permissions` + options to `Zip::File.new` + [#413](https://github.com/rubyzip/rubyzip/pull/413) + - Previously, neither option did anything, regardless of what it was set + to. We have therefore defaulted them to `false` to preserve the current + behavior, for the time being. If you have explicitly set either to + `true`, it will now have an effect. + - Fix handling of UniversalTime (`mtime`, `atime`, `ctime`) + fields. [#421](https://github.com/rubyzip/rubyzip/pull/421) + - Previously, `Zip::File` did not pass the options to `Zip::Entry` in some + cases. [#423](https://github.com/rubyzip/rubyzip/pull/423) + - Note that `restore_times` in this release does nothing on Windows and + only restores `mtime`, not `atime` or `ctime`. + - Allow `Zip::File.open` to take an options hash like `Zip::File.new` + [#418](https://github.com/rubyzip/rubyzip/pull/418) + - Always print warnings with `warn`, instead of a mix of `puts` and `warn` + [#416](https://github.com/rubyzip/rubyzip/pull/416) + - Create temporary files in the system temporary directory instead of the + directory of the zip file + [#411](https://github.com/rubyzip/rubyzip/pull/411) + - Drop unused `tmpdir` requirement + [#411](https://github.com/rubyzip/rubyzip/pull/411) + + Tooling + + - Move CI to xenial and include jruby on JDK11 + [#419](https://github.com/rubyzip/rubyzip/pull/419/files) + +- Add rubygem-rubyzip.rpmlintrc + ------------------------------------------------------------------- Tue Nov 12 14:30:23 UTC 2019 - Manuel Schnitzer diff --git a/rubygem-rubyzip.rpmlintrc b/rubygem-rubyzip.rpmlintrc new file mode 100644 index 0000000..38189b6 --- /dev/null +++ b/rubygem-rubyzip.rpmlintrc @@ -0,0 +1 @@ +addFilter("summary-not-capitalized.*") diff --git a/rubygem-rubyzip.spec b/rubygem-rubyzip.spec index 4638060..364da32 100644 --- a/rubygem-rubyzip.spec +++ b/rubygem-rubyzip.spec @@ -1,7 +1,7 @@ # # spec file for package rubygem-rubyzip # -# 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 @@ -16,28 +16,26 @@ # +%define mod_name rubyzip +%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-rubyzip -Version: 2.0.0 +Version: 2.1.0 Release: 0 -%define mod_name rubyzip -%define mod_full_name %{mod_name}-%{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.4} -BuildRequires: %{rubygem gem2rpm} -BuildRequires: ruby-macros >= 5 -Url: http://github.com/rubyzip/rubyzip -Source: https://rubygems.org/gems/%{mod_full_name}.gem -Source1: gem2rpm.yml Summary: rubyzip is a ruby module for reading and writing zip files License: BSD-2-Clause Group: Development/Languages/Ruby +URL: https://github.com/rubyzip/rubyzip +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +BuildRequires: %{ruby >= 2.4} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 %description rubyzip is a ruby module for reading and writing zip files. diff --git a/rubyzip-2.0.0.gem b/rubyzip-2.0.0.gem deleted file mode 100644 index 776026d..0000000 --- a/rubyzip-2.0.0.gem +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff11f68bc936504ee73ad39bf8880b656ec70593de18b7cc3ab90b7541cce0bf -size 38912 diff --git a/rubyzip-2.1.0.gem b/rubyzip-2.1.0.gem new file mode 100644 index 0000000..f247433 --- /dev/null +++ b/rubyzip-2.1.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e96d45ad7c2b441520eec05ebaecbf745c1e802750b0ff4ff92e068707e31ac +size 39424