!3 [sync] PR-2: Update the package version to 1.1.0

From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-03-07 03:16:10 +00:00 committed by Gitee
commit ce48364d45
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 6 deletions

BIN
mini_mime-1.1.0-test.txz Normal file

Binary file not shown.

BIN
mini_mime-1.1.0.gem Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
%global gem_name mini_mime
Name: rubygem-%{gem_name}
Version: 1.0.0
Version: 1.1.0
Release: 1
Summary: A lightweight mime type lookup toy
License: MIT
URL: https://github.com/discourse/mini_mime
Source0: https://rubygems.org/gems/mini_mime-%{version}.gem
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: %{gem_name}-%{version}-test.txz
BuildRequires: ruby(release) rubygems-devel ruby rubygem(minitest)
BuildArch: noarch
%description
@ -15,13 +16,12 @@ Minimal mime type implementation for use with the mail and rest-client gem.
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%setup -q -n %{gem_name}-%{version} -b1
%build
gem build ../%{gem_name}-%{version}.gemspec
@ -34,7 +34,8 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
ln -s %{_builddir}/test .
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
popd
%files
@ -57,5 +58,8 @@ popd
%{gem_instdir}/Rakefile
%changelog
* Thur Mar 3 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.1.0-1
- update to 1.1.0
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 1.0.0-1
- package init