diff --git a/.gitignore b/.gitignore index d529116..741d89f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ htmlentities-4.2.0.gem /htmlentities-4.2.2.gem /htmlentities-4.2.3.gem /htmlentities-4.2.4.gem +/htmlentities-4.3.0.gem +/htmlentities-4.3.1.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 022f68f..fa3d605 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,15 +7,17 @@ %global rubyabi 1.8 +# Some functions removed on 4.2.4. Please don't upgrade this rpm +# to 4.3.0+ on F-14- + Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.2.4 -Release: 2%{?dist} +Version: 4.3.1 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ -Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: ruby(rubygems) @@ -115,11 +117,11 @@ create_symlink_rec %{geminstdir}/lib %{ruby_sitelib} %check -pushd ./%{geminstdir}/test/ -ruby test_all.rb - -%clean -rm -rf %{buildroot} +pushd ./%{geminstdir}/ +for f in test/*.rb +do + ruby -Ilib $f +done %files %defattr(-,root,root,-) @@ -141,6 +143,12 @@ rm -rf %{buildroot} %changelog +* Sun Dec 4 2011 Mamoru Tasaka - 4.3.1-1 +- 4.3.1 + +* Sun Apr 03 2011 Mamoru Tasaka - 4.3.0-1 +- 4.3.0 + * Wed Feb 09 2011 Fedora Release Engineering - 4.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 4e17087..e5e84ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fa03f7fc44769acab2e6c6e6a66d4b67 htmlentities-4.2.4.gem +53a9218c02ef3671d6fc9fe843ebd360 htmlentities-4.3.1.gem