[rubygem-htmlentities] 4.3.0

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Apr 2 18:21:00 UTC 2011


commit 53fcc8bf4a12719942311b314c779f99b9a14d15
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Apr 3 03:20:57 2011 +0900

    4.3.0

 .gitignore                |    1 +
 rubygem-htmlentities.spec |   23 ++++++++++++++---------
 sources                   |    2 +-
 3 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d529116..c8bbfc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ 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
diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec
index 022f68f..1f5df0e 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.0
+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,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Apr 03 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 4.3.0-1
+- 4.3.0
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.2.4-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 4e17087..d84daee 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fa03f7fc44769acab2e6c6e6a66d4b67  htmlentities-4.2.4.gem
+a05634c8ad4153b6d3addbb8e1d8711e  htmlentities-4.3.0.gem


More information about the scm-commits mailing list