!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:
commit
ce48364d45
BIN
mini_mime-1.1.0-test.txz
Normal file
BIN
mini_mime-1.1.0-test.txz
Normal file
Binary file not shown.
BIN
mini_mime-1.1.0.gem
Normal file
BIN
mini_mime-1.1.0.gem
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user