Shutdown libxml2 version mismatch warning
- 1.6.6.4
This commit is contained in:
parent
94248294f3
commit
1b21521db9
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ nokogiri-1.4.3.1.gem
|
||||
/nokogiri-1.6.5.gem
|
||||
/nokogiri-1.6.6.1.gem
|
||||
/nokogiri-1.6.6.2.gem
|
||||
/nokogiri-1.6.6.4.gem
|
||||
|
10
rubygem-nokogiri-1.6.6.4-shutdown-libxml2-warning.patch
Normal file
10
rubygem-nokogiri-1.6.6.4-shutdown-libxml2-warning.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- nokogiri-1.6.6.4/./lib/nokogiri/version.rb.nowarn 2015-11-20 05:50:37.000000000 +0900
|
||||
+++ nokogiri-1.6.6.4/./lib/nokogiri/version.rb 2015-12-11 14:32:04.151973080 +0900
|
||||
@@ -34,6 +34,7 @@
|
||||
end
|
||||
|
||||
def warnings
|
||||
+ return []
|
||||
return [] unless libxml2?
|
||||
|
||||
if compiled_parser_version != loaded_parser_version
|
@ -3,7 +3,7 @@
|
||||
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
|
||||
%endif
|
||||
|
||||
%global mainver 1.6.6.2
|
||||
%global mainver 1.6.6.4
|
||||
#%%global prever .beta.4
|
||||
|
||||
%global mainrel 1
|
||||
@ -43,6 +43,8 @@ Source0: https://rubygems.org/gems/%{gemname}-%{mainver}%{?prever}.gem
|
||||
# ./test/html/test_element_description.rb:62 fails, as usual......
|
||||
# Patch0: rubygem-nokogiri-1.5.0.beta3-test-failure.patch
|
||||
#Patch0: rubygem-nokogiri-1.5.0-allow-non-crosscompile.patch
|
||||
# Shut down libxml2 version unmatching warning
|
||||
Patch0: %{name}-1.6.6.4-shutdown-libxml2-warning.patch
|
||||
%if 0%{?fedora} >= 19
|
||||
Requires: ruby(release)
|
||||
BuildRequires: ruby(release)
|
||||
@ -115,7 +117,7 @@ gem unpack %{SOURCE0}
|
||||
cd %{gem_name}-%{version}
|
||||
|
||||
# patches
|
||||
#%%patch0 -p1
|
||||
%patch0 -p1
|
||||
|
||||
gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
|
||||
|
||||
@ -257,6 +259,10 @@ popd
|
||||
%{gemdir}/doc/%{gemname}-%{mainver}%{?prever}/
|
||||
|
||||
%changelog
|
||||
* Fri Dec 11 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.6.4-1
|
||||
- Shutdown libxml2 version mismatch warning
|
||||
- 1.6.6.4
|
||||
|
||||
* Sun Jan 25 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.6.6.2-1
|
||||
- 1.6.6.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user