Upgrade 3.4.1
Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
parent
3e419145b7
commit
e7e84dfba4
@ -1,12 +0,0 @@
|
||||
diff -Nur a/usr/share/gems/gems/mime-types-3.1/lib/mime/types/logger.rb b/usr/share/gems/gems/mime-types-3.1//lib/mime/types/logger.rb
|
||||
--- a/usr/share/gems/gems/mime-types-3.1/lib/mime/types/logger.rb 2022-01-22 13:03:02.461246411 +0800
|
||||
+++ b/usr/share/gems/gems/mime-types-3.1/lib/mime/types/logger.rb 2022-01-22 13:02:41.332893171 +0800
|
||||
@@ -25,7 +25,7 @@
|
||||
end
|
||||
end
|
||||
|
||||
- def initialize(_1, _2 = nil, _3 = nil)
|
||||
+ def initialize(one, two = nil, three = nil)
|
||||
super nil
|
||||
@logdev = WarnLogDevice.new
|
||||
@formatter = ->(_s, _d, _p, m) { m }
|
||||
Binary file not shown.
BIN
mime-types-3.4.1.gem
Normal file
BIN
mime-types-3.4.1.gem
Normal file
Binary file not shown.
@ -1,12 +1,12 @@
|
||||
%global gem_name mime-types
|
||||
Summary: The mime-types library provides a library
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.1
|
||||
Release: 2
|
||||
Version: 3.4.1
|
||||
Release: 1
|
||||
License: MIT
|
||||
URL: https://github.com/mime-types/ruby-mime-types/
|
||||
Source0: https://rubygems.org/gems/mime-types-%{version}.gem
|
||||
Patch0: fix-build-error.patch
|
||||
|
||||
BuildRequires: rubygems-devel ruby(release) ruby >= 2.0 rubygem(mime-types-data)
|
||||
BuildRequires: rubygem(minitest)
|
||||
BuildArch: noarch
|
||||
@ -34,7 +34,6 @@ This package contains documentation for %{name}.
|
||||
%prep
|
||||
%setup -q -c -T
|
||||
%gem_install -n %{SOURCE0}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -59,7 +58,7 @@ ruby -Ilib:test -rminitest/autorun -e 'Dir.glob "./test/**/test_*.rb", &method(:
|
||||
popd
|
||||
|
||||
%files
|
||||
%license %{gem_instdir}/Licence.rdoc
|
||||
%license %{gem_instdir}/Licence.md
|
||||
%dir %{gem_instdir}
|
||||
%exclude %{gem_instdir}/.*
|
||||
%{gem_libdir}
|
||||
@ -67,9 +66,9 @@ popd
|
||||
%{gem_spec}
|
||||
|
||||
%files doc
|
||||
%doc %{gem_instdir}/Code-of-Conduct.rdoc
|
||||
%doc %{gem_instdir}/Contributing.rdoc
|
||||
%doc %{gem_instdir}/History.rdoc
|
||||
%doc %{gem_instdir}/Code-of-Conduct.md
|
||||
%doc %{gem_instdir}/Contributing.md
|
||||
%doc %{gem_instdir}/History.md
|
||||
%doc %{gem_instdir}/README.rdoc
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/Manifest.txt
|
||||
@ -77,6 +76,9 @@ popd
|
||||
%doc %{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Wed Jun 29 2022 xu_ping <xuping33@h-partners.com> - 3.4.1-1
|
||||
- Upgrade 3.4.1
|
||||
|
||||
* Sat Jan 22 2022 liyanan <liyanan32@huawei.com> - 3.1-2
|
||||
- fix build error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user