From 0a8fabf7cc4440d431ae2f24e90d6adf1c721aaa Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Fri, 6 Mar 2009 01:18:55 +0000 Subject: [PATCH 01/53] Initial import --- .cvsignore | 1 + rubygem-htmlentities.spec | 144 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 146 insertions(+) create mode 100644 rubygem-htmlentities.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d81205e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +htmlentities-4.0.0.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec new file mode 100644 index 0000000..c273024 --- /dev/null +++ b/rubygem-htmlentities.spec @@ -0,0 +1,144 @@ +# Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- +%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") + +%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) +%global gemname htmlentities +%global geminstdir %{gemdir}/gems/%{gemname}-%{version} + +%global rubyabi 1.8 + +Summary: A module for encoding and decoding (X)HTML entities +Name: rubygem-%{gemname} +Version: 4.0.0 +Release: 2%{?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) + +BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: ruby(rubygems) +Requires: ruby(abi) = %{rubyabi} +Requires: ruby(rubygems) +BuildArch: noarch +Provides: rubygem(%{gemname}) = %{version}-%{release} + +%description +HTMLEntities is a simple library to facilitate encoding and +decoding of named (ý and so on) or numerical ({ or Ī) +entities in HTML and XHTML documents. + +%package -n ruby-%{gemname} +Summary: Non-Gem support for %{gemname} +Group: Development/Languages +Requires: %{name} = %{version}-%{release} +Provides: ruby(%{gemname}) = %{version}-%{release} + +%description -n ruby-%{gemname} +This package provides non-Gem support for %{gemname}. + +%prep +# First install rubygems under %%_builddir to execute some +# tests +%setup -q -c -T + +mkdir -p ./%{geminstdir} +gem install \ + -V \ + --local --install-dir ./%{gemdir} \ + --force \ + --rdoc \ + %{SOURCE0} + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{gemdir} +cp -a ./%{gemdir}/* %{buildroot}%{gemdir}/ + +# Create symlinks for ruby-%%{gemname} +# Copied from rubygem-gettext.spec + +create_symlink_rec(){ + +ORIGBASEDIR=$1 +TARGETBASEDIR=$2 + +## First calculate relative path of ORIGBASEDIR +## from TARGETBASEDIR +TMPDIR=$TARGETBASEDIR +BACKDIR= +DOWNDIR= +num=0 +nnum=0 +while true +do + num=$((num+1)) + TMPDIR=$(echo $TMPDIR | %{__sed} -e 's|/[^/][^/]*$||') + DOWNDIR=$(echo $ORIGBASEDIR | %{__sed} -e "s|^$TMPDIR||") + if [ x$DOWNDIR != x$ORIGBASEDIR ] + then + nnum=0 + while [ $nnum -lt $num ] + do + BACKDIR="../$BACKDIR" + nnum=$((nnum+1)) + done + break + fi +done + +RELBASEDIR=$( echo $BACKDIR/$DOWNDIR | %{__sed} -e 's|//*|/|g' ) + +## Next actually create symlink +pushd %{buildroot}/$ORIGBASEDIR +find . -type f | while read f +do + DIRNAME=$(dirname $f) + BACK2DIR=$(echo $DIRNAME | %{__sed} -e 's|/[^/][^/]*|/..|g') + %{__mkdir_p} %{buildroot}${TARGETBASEDIR}/$DIRNAME + LNNAME=$(echo $BACK2DIR/$RELBASEDIR/$f | \ + %{__sed} -e 's|^\./||' | %{__sed} -e 's|//|/|g' | \ + %{__sed} -e 's|/\./|/|' ) + %{__ln_s} -f $LNNAME %{buildroot}${TARGETBASEDIR}/$f +done +popd + +} + +create_symlink_rec %{geminstdir}/lib %{ruby_sitelib} + + +%check +pushd ./%{geminstdir}/test/ +ruby test_all.rb + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc %{gemdir}/doc/%{gemname}-%{version}/ + +%dir %{geminstdir} +%doc %{geminstdir}/[A-Z]* +%{geminstdir}/lib/ +%doc %{geminstdir}/test/ + +%{gemdir}/cache/%{gemname}-%{version}.gem +%{gemdir}/specifications/%{gemname}-%{version}.gemspec + +%files -n ruby-%{gemname} +%defattr(-,root,root,-) +%{ruby_sitelib}/%{gemname}.rb +%{ruby_sitelib}/%{gemname}/ + + +%changelog +* Fri Mar 6 2009 Mamoru Tasaka +- Cleanups + +* Tue Mar 03 2009 Mamoru Tasaka - 4.0.0-1 +- Initial package diff --git a/sources b/sources index e69de29..8bb36b8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8490050367c95d63f83049852f7e93a8 htmlentities-4.0.0.gem From 5b2977e7ad3bbc7c998a1a160cea6bfcd4d66329 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sat, 25 Jul 2009 07:01:29 +0000 Subject: [PATCH 02/53] - F-12: Mass rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index c273024..6438a34 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -10,7 +10,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} Version: 4.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -137,6 +137,9 @@ rm -rf %{buildroot} %changelog +* Sat Jul 25 2009 Mamoru Tasaka - 4.0.0-3 +- F-12: Mass rebuild + * Fri Mar 6 2009 Mamoru Tasaka - Cleanups From 23be7d60d5c6d1053b621beefc88431dcade8c91 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Thu, 20 Aug 2009 16:24:08 +0000 Subject: [PATCH 03/53] - 4.1.0 --- .cvsignore | 2 +- rubygem-htmlentities.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index d81205e..d1754a1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -htmlentities-4.0.0.gem +htmlentities-4.1.0.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 6438a34..8eb08fe 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -9,8 +9,8 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.0.0 -Release: 3%{?dist} +Version: 4.1.0 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -137,6 +137,9 @@ rm -rf %{buildroot} %changelog +* Fri Aug 21 2009 Mamoru Tasaka - 4.1.0-1 +- 4.1.0 + * Sat Jul 25 2009 Mamoru Tasaka - 4.0.0-3 - F-12: Mass rebuild diff --git a/sources b/sources index 8bb36b8..3c70de7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8490050367c95d63f83049852f7e93a8 htmlentities-4.0.0.gem +ccb03a8085d032ebfdcef45eba91ada2 htmlentities-4.1.0.gem From 7aa58290b17313c64fee77bc199fe5db65ce3180 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Wed, 26 Aug 2009 17:05:20 +0000 Subject: [PATCH 04/53] - 4.2.0 --- .cvsignore | 2 +- rubygem-htmlentities.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index d1754a1..fb109f6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -htmlentities-4.1.0.gem +htmlentities-4.2.0.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 8eb08fe..4459bf5 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -9,7 +9,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.1.0 +Version: 4.2.0 Release: 1%{?dist} Group: Development/Languages License: MIT @@ -58,6 +58,9 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{gemdir} cp -a ./%{gemdir}/* %{buildroot}%{gemdir}/ +# Cleanups +rm -f %{buildroot}%{geminstdir}/setup.rb + # Create symlinks for ruby-%%{gemname} # Copied from rubygem-gettext.spec @@ -125,6 +128,7 @@ rm -rf %{buildroot} %dir %{geminstdir} %doc %{geminstdir}/[A-Z]* %{geminstdir}/lib/ +%doc %{geminstdir}/perf/ %doc %{geminstdir}/test/ %{gemdir}/cache/%{gemname}-%{version}.gem @@ -137,6 +141,9 @@ rm -rf %{buildroot} %changelog +* Thu Aug 27 2009 Mamoru Tasaka - 4.2.0-1 +- 4.2.0 + * Fri Aug 21 2009 Mamoru Tasaka - 4.1.0-1 - 4.1.0 diff --git a/sources b/sources index 3c70de7..73ca85b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ccb03a8085d032ebfdcef45eba91ada2 htmlentities-4.1.0.gem +ad78c92451862e54fa608539d7c1bccd htmlentities-4.2.0.gem From 19faa2f0fbef3b0e05d149ad85e3a79dcefc6076 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:13:23 +0000 Subject: [PATCH 05/53] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e29c289..c1cf31b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := rubygem-htmlentities SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 65ef668058fbd6ea14e9c9cffb739d94b4d1833b Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Tue, 12 Jan 2010 15:37:52 +0000 Subject: [PATCH 06/53] - 4.2.0 (tarball seems respun) --- rubygem-htmlentities.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 4459bf5..dd625ee 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -10,7 +10,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} Version: 4.2.0 -Release: 1%{?dist} +Release: 2%{?dist}.respin1 Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -141,6 +141,9 @@ rm -rf %{buildroot} %changelog +* Wed Jan 13 2010 Mamoru Tasaka - 4.2.0-2.respin1 +- 4.2.0 (tarball seems respun) + * Thu Aug 27 2009 Mamoru Tasaka - 4.2.0-1 - 4.2.0 diff --git a/sources b/sources index 73ca85b..9c75592 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ad78c92451862e54fa608539d7c1bccd htmlentities-4.2.0.gem +4f969adda1916cc6f724eb478ea6d215 htmlentities-4.2.0.gem From ae477eae7be36d44b3532cf6e6aa8afa232292b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 11:51:45 +0000 Subject: [PATCH 07/53] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index c1cf31b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: rubygem-htmlentities -# $Id$ -NAME := rubygem-htmlentities -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From e7f657105351558f6130266c68367a0b6f73c334 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sat, 6 Nov 2010 04:27:47 +0900 Subject: [PATCH 08/53] - 4.2.2 --- .gitignore | 1 + rubygem-htmlentities.spec | 10 ++++++++-- sources | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fb109f6..0c0e955 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ htmlentities-4.2.0.gem +/htmlentities-4.2.2.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index dd625ee..20b5991 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -9,8 +9,8 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.2.0 -Release: 2%{?dist}.respin1 +Version: 4.2.2 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -141,6 +141,12 @@ rm -rf %{buildroot} %changelog +* Sun Nov 6 2010 Mamoru Tasaka - 4.2.2-1 +- 4.2.2 + +* Sat Apr 11 2010 Mamoru Tasaka - 4.2.1-1 +- 4.2.1 + * Wed Jan 13 2010 Mamoru Tasaka - 4.2.0-2.respin1 - 4.2.0 (tarball seems respun) diff --git a/sources b/sources index 9c75592..f2d3bfb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4f969adda1916cc6f724eb478ea6d215 htmlentities-4.2.0.gem +d6b788e16b41be0d43dc953a63c659d0 htmlentities-4.2.2.gem From 66bf8f5369f0dd8e2a22ec34df540fdd9c67eca9 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Fri, 14 Jan 2011 20:46:32 +0900 Subject: [PATCH 09/53] - 4.2.3 --- .gitignore | 1 + rubygem-htmlentities.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0c0e955..fc0662f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ htmlentities-4.2.0.gem /htmlentities-4.2.2.gem +/htmlentities-4.2.3.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 20b5991..c0545d3 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -9,7 +9,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.2.2 +Version: 4.2.3 Release: 1%{?dist} Group: Development/Languages License: MIT @@ -141,6 +141,9 @@ rm -rf %{buildroot} %changelog +* Fri Jan 14 2011 Mamoru Tasaka - 4.2.3-1 +- 4.2.3 + * Sun Nov 6 2010 Mamoru Tasaka - 4.2.2-1 - 4.2.2 diff --git a/sources b/sources index f2d3bfb..cee4caf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d6b788e16b41be0d43dc953a63c659d0 htmlentities-4.2.2.gem +db0d65ceae4b3a0ab59453cd52e84897 htmlentities-4.2.3.gem From a7ff6b1e9c5338a1fc4539495b69d56da106d276 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Tue, 1 Feb 2011 01:20:52 +0900 Subject: [PATCH 10/53] - 4.2.4 --- .gitignore | 1 + rubygem-htmlentities.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fc0662f..d529116 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ htmlentities-4.2.0.gem /htmlentities-4.2.2.gem /htmlentities-4.2.3.gem +/htmlentities-4.2.4.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index c0545d3..baeb223 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -9,7 +9,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.2.3 +Version: 4.2.4 Release: 1%{?dist} Group: Development/Languages License: MIT @@ -141,6 +141,9 @@ rm -rf %{buildroot} %changelog +* Tue Feb 1 2011 Mamoru Tasaka - 4.2.4-1 +- 4.2.4 + * Fri Jan 14 2011 Mamoru Tasaka - 4.2.3-1 - 4.2.3 diff --git a/sources b/sources index cee4caf..4e17087 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -db0d65ceae4b3a0ab59453cd52e84897 htmlentities-4.2.3.gem +fa03f7fc44769acab2e6c6e6a66d4b67 htmlentities-4.2.4.gem From be046d6ee0e6ca90c0a5bfc46bb323f3a66a5997 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 04:03:25 -0600 Subject: [PATCH 11/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index baeb223..022f68f 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -10,7 +10,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} Version: 4.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -141,6 +141,9 @@ rm -rf %{buildroot} %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 4.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Tue Feb 1 2011 Mamoru Tasaka - 4.2.4-1 - 4.2.4 From 53fcc8bf4a12719942311b314c779f99b9a14d15 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 3 Apr 2011 03:20:57 +0900 Subject: [PATCH 12/53] 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 - 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..d84daee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fa03f7fc44769acab2e6c6e6a66d4b67 htmlentities-4.2.4.gem +a05634c8ad4153b6d3addbb8e1d8711e htmlentities-4.3.0.gem From fc2c9b6dde5048ea6318fb0eddfa4ff45a484ce5 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 4 Dec 2011 23:11:20 +0900 Subject: [PATCH 13/53] 4.3.1 --- .gitignore | 1 + rubygem-htmlentities.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c8bbfc2..741d89f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ htmlentities-4.2.0.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 1f5df0e..fa3d605 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -12,7 +12,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} -Version: 4.3.0 +Version: 4.3.1 Release: 1%{?dist} Group: Development/Languages License: MIT @@ -143,6 +143,9 @@ done %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 diff --git a/sources b/sources index d84daee..e5e84ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a05634c8ad4153b6d3addbb8e1d8711e htmlentities-4.3.0.gem +53a9218c02ef3671d6fc9fe843ebd360 htmlentities-4.3.1.gem From 18f4b4533db6f684ed770d2f0613c6933cbbf8ad Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 21:13:03 -0600 Subject: [PATCH 14/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index fa3d605..f40913c 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -13,7 +13,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gemname} Version: 4.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -143,6 +143,9 @@ done %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 4.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Sun Dec 4 2011 Mamoru Tasaka - 4.3.1-1 - 4.3.1 From 5f7aa553d336eae1ff83d0c1d41595a4f793ea58 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 5 Feb 2012 15:36:36 +0900 Subject: [PATCH 15/53] F-17: rebuild against ruby19 --- rubygem-htmlentities.spec | 94 ++++++++++++++++++++++++--------------- 1 file changed, 57 insertions(+), 37 deletions(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index f40913c..73f3df2 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -1,54 +1,69 @@ # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- -%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") - -%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) -%global gemname htmlentities -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} - +%if 0%{?fedora} >= 17 +%global rubyabi 1.9.1 +%else %global rubyabi 1.8 +%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%endif + +%global gem_name htmlentities # 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} +Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ -Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem +Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: ruby(rubygems) Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) BuildArch: noarch -Provides: rubygem(%{gemname}) = %{version}-%{release} +Provides: rubygem(%{gem_name}) = %{version}-%{release} +%if 0%{?fedora} >= 17 +Obsoletes: ruby-%{gem_name} <= %{version}-%{release} +Provides: ruby-%{gem_name} = %{version}-%{release} +%endif %description HTMLEntities is a simple library to facilitate encoding and decoding of named (ý and so on) or numerical ({ or Ī) entities in HTML and XHTML documents. -%package -n ruby-%{gemname} -Summary: Non-Gem support for %{gemname} +%package doc +Summary: Documentation for %{name} +Group: Documentation +# Directory ownership issue +Requires: %{name} = %{version}-%{release} +Requires: ruby(rubygems) + +%description doc +This package contains documentation for %{name}. + +%package -n ruby-%{gem_name} +Summary: Non-Gem support for %{gem_name} Group: Development/Languages Requires: %{name} = %{version}-%{release} -Provides: ruby(%{gemname}) = %{version}-%{release} +Provides: ruby(%{gem_name}) = %{version}-%{release} -%description -n ruby-%{gemname} -This package provides non-Gem support for %{gemname}. +%description -n ruby-%{gem_name} +This package provides non-Gem support for %{gem_name}. %prep # First install rubygems under %%_builddir to execute some # tests %setup -q -c -T -mkdir -p ./%{geminstdir} +mkdir -p ./%{gem_instdir} gem install \ -V \ - --local --install-dir ./%{gemdir} \ + --local --install-dir ./%{gem_dir} \ --force \ --rdoc \ %{SOURCE0} @@ -57,13 +72,13 @@ gem install \ %install rm -rf %{buildroot} -mkdir -p %{buildroot}%{gemdir} -cp -a ./%{gemdir}/* %{buildroot}%{gemdir}/ +mkdir -p %{buildroot}%{gem_dir} +cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ # Cleanups -rm -f %{buildroot}%{geminstdir}/setup.rb +rm -f %{buildroot}%{gem_instdir}/setup.rb -# Create symlinks for ruby-%%{gemname} +# Create symlinks for ruby-%%{gem_name} # Copied from rubygem-gettext.spec create_symlink_rec(){ @@ -113,36 +128,41 @@ popd } -create_symlink_rec %{geminstdir}/lib %{ruby_sitelib} - +%if 0%{?fedora} >= 17 +create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib} +%endif %check -pushd ./%{geminstdir}/ +pushd ./%{gem_instdir}/ for f in test/*.rb do ruby -Ilib $f done %files -%defattr(-,root,root,-) -%doc %{gemdir}/doc/%{gemname}-%{version}/ +%dir %{gem_instdir} +%doc %{gem_instdir}/[A-Z]* +%{gem_instdir}/lib/ -%dir %{geminstdir} -%doc %{geminstdir}/[A-Z]* -%{geminstdir}/lib/ -%doc %{geminstdir}/perf/ -%doc %{geminstdir}/test/ +%{gem_cache} +%{gem_spec} -%{gemdir}/cache/%{gemname}-%{version}.gem -%{gemdir}/specifications/%{gemname}-%{version}.gemspec +%if %{?fedora} < 17 +%files -n ruby-%{gem_name} +%{ruby_sitelib}/%{gem_name}.rb +%{ruby_sitelib}/%{gem_name}/ +%endif -%files -n ruby-%{gemname} -%defattr(-,root,root,-) -%{ruby_sitelib}/%{gemname}.rb -%{ruby_sitelib}/%{gemname}/ +%files doc +%{gem_instdir}/perf/ +%{gem_instdir}/test/ +%{gem_docdir}/ %changelog +* Sun Feb 5 2012 Mamoru Tasaka - 4.3.1-3 +- F-17: rebuild against ruby19 + * Sat Jan 14 2012 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From ad975cd7b4df0a4cb3e0661d3338737d1ec1f7cf Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 5 Feb 2012 15:47:57 +0900 Subject: [PATCH 16/53] fix br --- rubygem-htmlentities.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 73f3df2..2acbbf2 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -21,7 +21,7 @@ URL: http://htmlentities.rubyforge.org/ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(abi) = %{rubyabi} -BuildRequires: ruby(rubygems) +BuildRequires: rubygems-devel Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) BuildArch: noarch From 298ed13ac24de1f811ded844de257900496df45b Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 5 Feb 2012 15:50:11 +0900 Subject: [PATCH 17/53] fix branch condition --- rubygem-htmlentities.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 2acbbf2..bca5584 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -128,7 +128,7 @@ popd } -%if 0%{?fedora} >= 17 +%if 0%{?fedora} < 17 create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib} %endif From e5b0a2f1674db1fb3e2a14c313f8b1d5d2a603c1 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 5 Feb 2012 16:03:45 +0900 Subject: [PATCH 18/53] add br --- rubygem-htmlentities.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index bca5584..4b76a2e 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -22,6 +22,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: rubygems-devel +BuildRequires: rubygem(test-unit) Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) BuildArch: noarch From 50fa803709cb397a193196b39b526e5265ce75cf Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 13:00:38 -0500 Subject: [PATCH 19/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 4b76a2e..f719684 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -14,7 +14,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -161,6 +161,9 @@ done %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 4.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sun Feb 5 2012 Mamoru Tasaka - 4.3.1-3 - F-17: rebuild against ruby19 From 5f999385e04bcc5931458c760123f72c53d95901 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 16:43:12 -0600 Subject: [PATCH 20/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index f719684..4acc657 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -14,7 +14,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -161,6 +161,9 @@ done %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 4.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sat Jul 21 2012 Fedora Release Engineering - 4.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 74993f222a187da2395b809a97c4d87b801c3e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 5 Mar 2013 12:29:50 +0100 Subject: [PATCH 21/53] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 --- rubygem-htmlentities.spec | 89 +++------------------------------------ 1 file changed, 7 insertions(+), 82 deletions(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 4acc657..59ce6d5 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -1,11 +1,4 @@ # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- -%if 0%{?fedora} >= 17 -%global rubyabi 1.9.1 -%else -%global rubyabi 1.8 -%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") -%endif - %global gem_name htmlentities # Some functions removed on 4.2.4. Please don't upgrade this rpm @@ -14,23 +7,19 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 5%{?dist} +Release: 6%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem -BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(test-unit) -Requires: ruby(abi) = %{rubyabi} +Requires: ruby(release) Requires: ruby(rubygems) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version}-%{release} -%if 0%{?fedora} >= 17 -Obsoletes: ruby-%{gem_name} <= %{version}-%{release} -Provides: ruby-%{gem_name} = %{version}-%{release} -%endif %description HTMLEntities is a simple library to facilitate encoding and @@ -60,14 +49,7 @@ This package provides non-Gem support for %{gem_name}. # First install rubygems under %%_builddir to execute some # tests %setup -q -c -T - -mkdir -p ./%{gem_instdir} -gem install \ - -V \ - --local --install-dir ./%{gem_dir} \ - --force \ - --rdoc \ - %{SOURCE0} +%gem_install -n %{SOURCE0} %build @@ -79,60 +61,6 @@ cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ # Cleanups rm -f %{buildroot}%{gem_instdir}/setup.rb -# Create symlinks for ruby-%%{gem_name} -# Copied from rubygem-gettext.spec - -create_symlink_rec(){ - -ORIGBASEDIR=$1 -TARGETBASEDIR=$2 - -## First calculate relative path of ORIGBASEDIR -## from TARGETBASEDIR -TMPDIR=$TARGETBASEDIR -BACKDIR= -DOWNDIR= -num=0 -nnum=0 -while true -do - num=$((num+1)) - TMPDIR=$(echo $TMPDIR | %{__sed} -e 's|/[^/][^/]*$||') - DOWNDIR=$(echo $ORIGBASEDIR | %{__sed} -e "s|^$TMPDIR||") - if [ x$DOWNDIR != x$ORIGBASEDIR ] - then - nnum=0 - while [ $nnum -lt $num ] - do - BACKDIR="../$BACKDIR" - nnum=$((nnum+1)) - done - break - fi -done - -RELBASEDIR=$( echo $BACKDIR/$DOWNDIR | %{__sed} -e 's|//*|/|g' ) - -## Next actually create symlink -pushd %{buildroot}/$ORIGBASEDIR -find . -type f | while read f -do - DIRNAME=$(dirname $f) - BACK2DIR=$(echo $DIRNAME | %{__sed} -e 's|/[^/][^/]*|/..|g') - %{__mkdir_p} %{buildroot}${TARGETBASEDIR}/$DIRNAME - LNNAME=$(echo $BACK2DIR/$RELBASEDIR/$f | \ - %{__sed} -e 's|^\./||' | %{__sed} -e 's|//|/|g' | \ - %{__sed} -e 's|/\./|/|' ) - %{__ln_s} -f $LNNAME %{buildroot}${TARGETBASEDIR}/$f -done -popd - -} - -%if 0%{?fedora} < 17 -create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib} -%endif - %check pushd ./%{gem_instdir}/ for f in test/*.rb @@ -148,12 +76,6 @@ done %{gem_cache} %{gem_spec} -%if %{?fedora} < 17 -%files -n ruby-%{gem_name} -%{ruby_sitelib}/%{gem_name}.rb -%{ruby_sitelib}/%{gem_name}/ -%endif - %files doc %{gem_instdir}/perf/ %{gem_instdir}/test/ @@ -161,6 +83,9 @@ done %changelog +* Tue Mar 05 2013 Vít Ondruch - 4.3.1-6 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Thu Feb 14 2013 Fedora Release Engineering - 4.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From c68a5613559e6f1aa186cc3944bdbd2fc40d9e5b Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 7 Mar 2013 15:05:40 +0900 Subject: [PATCH 22/53] Clean up --- rubygem-htmlentities.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 59ce6d5..3925d19 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,16 +7,24 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 6%{?dist} +Release: 7%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem +%if 0%{?fedora} >= 19 +Requires: ruby(release) BuildRequires: ruby(release) +%else +Requires: ruby(abi) = %{rubyabi} +Requires: ruby +BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: ruby +%endif + BuildRequires: rubygems-devel BuildRequires: rubygem(test-unit) -Requires: ruby(release) Requires: ruby(rubygems) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version}-%{release} @@ -83,6 +91,9 @@ done %changelog +* Thu Mar 7 2013 Mamoru TASAKA - 4.3.1-7 +- Clean up + * Tue Mar 05 2013 Vít Ondruch - 4.3.1-6 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 From 9a3d9314c6fd143e0d781cc8b41640af5149bcf6 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 7 Mar 2013 15:10:14 +0900 Subject: [PATCH 23/53] and more cleanup --- rubygem-htmlentities.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 3925d19..2360a9c 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -1,4 +1,8 @@ # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- +%if 0%{?fedora} < 19 +%global rubyabi 1.9.1 +%endif + %global gem_name htmlentities # Some functions removed on 4.2.4. Please don't upgrade this rpm From cda52c53840107f2dca54bc4aa268fa4a669e078 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 09:06:45 -0500 Subject: [PATCH 24/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 2360a9c..50c678c 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -11,7 +11,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.1 -Release: 7%{?dist} +Release: 8%{?dist} Group: Development/Languages License: MIT URL: http://htmlentities.rubyforge.org/ @@ -95,6 +95,9 @@ done %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 4.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Mar 7 2013 Mamoru TASAKA - 4.3.1-7 - Clean up From 674267d81c56ab1534f47c3b1bc3be4cc2a23dc9 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 6 Jun 2014 14:32:43 +0900 Subject: [PATCH 25/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- .gitignore | 1 + rubygem-htmlentities.spec | 20 ++++++-------------- sources | 2 +- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 741d89f..c40b8b8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ htmlentities-4.2.0.gem /htmlentities-4.2.4.gem /htmlentities-4.3.0.gem /htmlentities-4.3.1.gem +/htmlentities-4.3.2.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 50c678c..24bc874 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -1,8 +1,4 @@ # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- -%if 0%{?fedora} < 19 -%global rubyabi 1.9.1 -%endif - %global gem_name htmlentities # Some functions removed on 4.2.4. Please don't upgrade this rpm @@ -10,22 +6,15 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} -Version: 4.3.1 -Release: 8%{?dist} +Version: 4.3.2 +Release: 1%{?dist} Group: Development/Languages License: MIT -URL: http://htmlentities.rubyforge.org/ +URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem -%if 0%{?fedora} >= 19 Requires: ruby(release) BuildRequires: ruby(release) -%else -Requires: ruby(abi) = %{rubyabi} -Requires: ruby -BuildRequires: ruby(abi) = %{rubyabi} -BuildRequires: ruby -%endif BuildRequires: rubygems-devel BuildRequires: rubygem(test-unit) @@ -75,6 +64,9 @@ rm -f %{buildroot}%{gem_instdir}/setup.rb %check pushd ./%{gem_instdir}/ + +sed -i -e '2i gem "test-unit"' test/test_helper.rb + for f in test/*.rb do ruby -Ilib $f diff --git a/sources b/sources index e5e84ce..a25dfdb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -53a9218c02ef3671d6fc9fe843ebd360 htmlentities-4.3.1.gem +cdf2299d1f9a656d49743f87b233db26 htmlentities-4.3.2.gem From c1a5d879c73879989b7b6afbd877565228c6cebb Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 9 Jun 2014 10:25:51 +0900 Subject: [PATCH 26/53] add changelog --- rubygem-htmlentities.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 24bc874..a34b930 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -87,6 +87,12 @@ done %changelog +* Mon Jun 9 2014 Mamoru TASAKA - 4.3.2-2 +- Rebuild + +* Fri Jun 6 2014 Mamoru TASAKA - 4.3.2-1 +- Update to 4.3.2 + * Sun Aug 04 2013 Fedora Release Engineering - 4.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From 4492e47f5f72c8e2d5dd43a3a675d2855f51dda7 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sat, 27 Dec 2014 18:57:20 +0900 Subject: [PATCH 27/53] 4.3.3 --- .gitignore | 1 + rubygem-htmlentities.spec | 12 ++++++------ sources | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c40b8b8..c9508e0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ htmlentities-4.2.0.gem /htmlentities-4.3.0.gem /htmlentities-4.3.1.gem /htmlentities-4.3.2.gem +/htmlentities-4.3.3.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index a34b930..c15baed 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -6,8 +6,8 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} -Version: 4.3.2 -Release: 2%{?dist} +Version: 4.3.3 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -67,10 +67,7 @@ pushd ./%{gem_instdir}/ sed -i -e '2i gem "test-unit"' test/test_helper.rb -for f in test/*.rb -do - ruby -Ilib $f -done +ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %files %dir %{gem_instdir} @@ -87,6 +84,9 @@ done %changelog +* Sat Dec 27 2014 Mamoru TASAKA - 4.3.3-1 +- 4.3.3 + * Mon Jun 9 2014 Mamoru TASAKA - 4.3.2-2 - Rebuild diff --git a/sources b/sources index a25dfdb..d5a6521 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cdf2299d1f9a656d49743f87b233db26 htmlentities-4.3.2.gem +c93e1153e3f108fdc0f7c3cb75af6ba2 htmlentities-4.3.3.gem From 2e53b9b375cd8441d3898b1bee3059d2943b22bc Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 23:16:10 +0000 Subject: [PATCH 28/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index c15baed..4025ba3 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 4.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat Dec 27 2014 Mamoru TASAKA - 4.3.3-1 - 4.3.3 From e210c89d14c66cdf37f62ebf707cd7b6ad853977 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 6 Jul 2015 13:08:14 +0900 Subject: [PATCH 29/53] 4.3.4 --- .gitignore | 1 + rubygem-htmlentities.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c9508e0..2410f19 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ htmlentities-4.2.0.gem /htmlentities-4.3.1.gem /htmlentities-4.3.2.gem /htmlentities-4.3.3.gem +/htmlentities-4.3.4.gem diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 4025ba3..b88fd85 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -6,8 +6,8 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} -Version: 4.3.3 -Release: 2%{?dist} +Version: 4.3.4 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Mon Jul 6 2015 Mamoru TASAKA - 4.3.4-1 +- 4.3.4 + * Thu Jun 18 2015 Fedora Release Engineering - 4.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index d5a6521..08b4c4d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c93e1153e3f108fdc0f7c3cb75af6ba2 htmlentities-4.3.3.gem +dd1473e839b8b356c5d1cfac318649e8 htmlentities-4.3.4.gem From fa2db2e08f6c4a07dc6e34e464cbe231fa47ad4c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 22:50:34 +0000 Subject: [PATCH 30/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index b88fd85..d503488 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 4.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Mon Jul 6 2015 Mamoru TASAKA - 4.3.4-1 - 4.3.4 From bc0628c90d35f4224532409531b213df3cf32e1d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 12:21:13 +0000 Subject: [PATCH 31/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index d503488..3234607 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 2%{?dist} +Release: 3%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 4.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 04 2016 Fedora Release Engineering - 4.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From ea43e51e50b3e4b184c8ad08731c401bef732894 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 17:17:04 +0000 Subject: [PATCH 32/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 3234607..dd05467 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 3%{?dist} +Release: 4%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 4.3.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 4.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 880b39f92c999c02c2b9e239681817468d94f24b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 14:09:00 +0000 Subject: [PATCH 33/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index dd05467..e6a7baa 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 4%{?dist} +Release: 5%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 4.3.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 4.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 0b446435ae8fea6b09a4eec1a58da76dc3cfb468 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 04:17:38 +0000 Subject: [PATCH 34/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index e6a7baa..40c459b 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 5%{?dist} +Release: 6%{?dist} Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities @@ -84,6 +84,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 4.3.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 4.3.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 645dd8eeae5b63284b10389ec7173e1dd9b8e96c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:22 +0100 Subject: [PATCH 35/53] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- rubygem-htmlentities.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 40c459b..feadf77 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -8,7 +8,6 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 Release: 6%{?dist} -Group: Development/Languages License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -29,7 +28,6 @@ entities in HTML and XHTML documents. %package doc Summary: Documentation for %{name} -Group: Documentation # Directory ownership issue Requires: %{name} = %{version}-%{release} Requires: ruby(rubygems) @@ -39,7 +37,6 @@ This package contains documentation for %{name}. %package -n ruby-%{gem_name} Summary: Non-Gem support for %{gem_name} -Group: Development/Languages Requires: %{name} = %{version}-%{release} Provides: ruby(%{gem_name}) = %{version}-%{release} From 759aa629314d02508be95cf074f30c3900f4ad74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 12:20:57 +0000 Subject: [PATCH 36/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index feadf77..32da2dd 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 6%{?dist} +Release: 7%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 4.3.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 4.3.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From e21c9c6ce2f49bcbb3857b552113eaf5b102c8cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 19:29:00 +0000 Subject: [PATCH 37/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 32da2dd..9ae0aba 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 4.3.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 4.3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From a26f066e73413490ff4f6d27db936458933e018a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 18:39:11 +0000 Subject: [PATCH 38/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 9ae0aba..177ace8 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 8%{?dist} +Release: 9%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 4.3.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Jul 26 2019 Fedora Release Engineering - 4.3.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From e906a1341134517318300c512591319ef239c9f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 06:30:49 +0000 Subject: [PATCH 39/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 177ace8..049c21e 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 9%{?dist} +Release: 10%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 4.3.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jan 30 2020 Fedora Release Engineering - 4.3.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From bf43013e75ce6d8e8b0eaba7d1f861506cd2d0fb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 15:59:29 +0000 Subject: [PATCH 40/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 049c21e..2edb1d1 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 10%{?dist} +Release: 11%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 4.3.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 4.3.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From cfc0c5502f31e99c4ac0a33536c3fefe3d894b9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 12:10:56 +0000 Subject: [PATCH 41/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 2edb1d1..5815c53 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 11%{?dist} +Release: 12%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 4.3.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 4.3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From a0803357d1745c36302a88c6031dbef1541eefa1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 18:40:03 +0000 Subject: [PATCH 42/53] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 5815c53..ae04f7d 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 12%{?dist} +Release: 13%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 4.3.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 4.3.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 072e70acb10953ba5e771a89db13d9dc837e06df Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 01:40:58 +0000 Subject: [PATCH 43/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index ae04f7d..c29b8e2 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 13%{?dist} +Release: 14%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 4.3.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 4.3.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 68aaad52e8c61f782bf48ecb6a4fbf6b2638d5fe Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Mon, 3 Oct 2022 21:42:53 +0900 Subject: [PATCH 44/53] change to SHA512 --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 08b4c4d..4fc4838 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -dd1473e839b8b356c5d1cfac318649e8 htmlentities-4.3.4.gem +SHA512 (htmlentities-4.3.4.gem) = 0163d6c014ffebb4ee9bdb15d32884c8d6af60681f240d3f0177811d37647776b8f8fd0aa4f1c7559403f36a5538ce8da6926bc16cc8105bd6eed5c180db700b From b14b640bc8bc8c8b96d6a1d85709fcc7279f491e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 20:33:47 +0000 Subject: [PATCH 45/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index c29b8e2..c646a4a 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 14%{?dist} +Release: 15%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 4.3.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 4.3.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 0f30767f134a34b7c9922c4ca73d61dd80d4de43 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 17:45:10 +0000 Subject: [PATCH 46/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index c646a4a..14e462a 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 15%{?dist} +Release: 16%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 4.3.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jan 20 2023 Fedora Release Engineering - 4.3.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 6f7898790ccfcabb39be46c51f02737b62340343 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 13:00:08 +0000 Subject: [PATCH 47/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 14e462a..ae5b4a1 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 16%{?dist} +Release: 17%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 4.3.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 4.3.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From d542dce57533def30cf4bc0f99be25ccd310e7c5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 16:57:00 +0000 Subject: [PATCH 48/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index ae5b4a1..a5688c5 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 17%{?dist} +Release: 18%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 4.3.4-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 4.3.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d6ebd15748d71d86a50981c430c1d737fcb181b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 19:25:06 +0000 Subject: [PATCH 49/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index a5688c5..33a19ab 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 18%{?dist} +Release: 19%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 4.3.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jan 26 2024 Fedora Release Engineering - 4.3.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 49064ced4029e4a894ad7ad08c4e509ca787e616 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 23:24:10 +0000 Subject: [PATCH 50/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 33a19ab..3e657c3 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 19%{?dist} +Release: 20%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 4.3.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 4.3.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 26836a0bf53abc2061b42d8a3569d09cbad081d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 12:29:04 +0000 Subject: [PATCH 51/53] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- rubygem-htmlentities.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 3e657c3..803e6f5 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -7,7 +7,7 @@ Summary: A module for encoding and decoding (X)HTML entities Name: rubygem-%{gem_name} Version: 4.3.4 -Release: 20%{?dist} +Release: 21%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -81,6 +81,9 @@ ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 4.3.4-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sat Jan 18 2025 Fedora Release Engineering - 4.3.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From c28c108658d50a9c25d1a1ef36a44eb7bfb12efb Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 23 Nov 2025 23:55:54 +0900 Subject: [PATCH 52/53] refresh .gitignore --- .gitignore | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 2410f19..a6f6853 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,2 @@ -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 -/htmlentities-4.3.2.gem -/htmlentities-4.3.3.gem -/htmlentities-4.3.4.gem +/htmlentities-*.gem +/htmlentities-*-test.tar.gz From 1d0eaaeeb67b554ce3b4b32c5f50051e61565a57 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sun, 23 Nov 2025 23:58:36 +0900 Subject: [PATCH 53/53] 4.4.2 --- .gitignore | 2 +- htmlentities-create-missing-files.sh | 35 +++++++++++++++++++++++ rubygem-htmlentities.spec | 42 +++++++++++++++------------- sources | 3 +- 4 files changed, 61 insertions(+), 21 deletions(-) create mode 100644 htmlentities-create-missing-files.sh diff --git a/.gitignore b/.gitignore index a6f6853..466c2ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /htmlentities-*.gem -/htmlentities-*-test.tar.gz +/htmlentities-*-tests.tar.gz diff --git a/htmlentities-create-missing-files.sh b/htmlentities-create-missing-files.sh new file mode 100644 index 0000000..7433411 --- /dev/null +++ b/htmlentities-create-missing-files.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +if [ $# -lt 1 ] +then + echo "$0 " + exit 1 +fi + +set -x +set -e + +VERSION=$1 + +REPOURL=https://github.com/threedaymonk/ +REPONAME=htmlentities + +TARBALLNAME=${REPONAME}-${VERSION}-tests.tar.gz + +CURRDIR=$(pwd) +TMPDIRPATH=$(mktemp -d /var/tmp/${REPONAME}-tar-XXXXXX) +pushd $TMPDIRPATH + +git clone ${REPOURL}/${REPONAME}.git +ln -sf ${REPONAME} ${REPONAME}-${VERSION} +cd ${REPONAME} + +git checkout -b fedora-${VERSION} v${VERSION} +cd .. +tar czf $TARBALLNAME ${REPONAME}-${VERSION}/spec +mv $TARBALLNAME $CURRDIR + +popd +rm -rf $TMPDIRPATH + + diff --git a/rubygem-htmlentities.spec b/rubygem-htmlentities.spec index 803e6f5..65701a8 100644 --- a/rubygem-htmlentities.spec +++ b/rubygem-htmlentities.spec @@ -1,22 +1,26 @@ # Generated from htmlentities-4.0.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name htmlentities +%global test_version 4.4.1 # 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-%{gem_name} -Version: 4.3.4 -Release: 21%{?dist} +Version: 4.4.2 +Release: 1%{?dist} License: MIT URL: https://github.com/threedaymonk/htmlentities Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem +Source1: %{gem_name}-%{test_version}-tests.tar.gz +# Source1 is created by bash %%SOURCE2 %%test_version +Source2: htmlentities-create-missing-files.sh Requires: ruby(release) BuildRequires: ruby(release) BuildRequires: rubygems-devel -BuildRequires: rubygem(test-unit) +BuildRequires: rubygem(rspec) Requires: ruby(rubygems) BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version}-%{release} @@ -44,43 +48,43 @@ Provides: ruby(%{gem_name}) = %{version}-%{release} This package provides non-Gem support for %{gem_name}. %prep -# First install rubygems under %%_builddir to execute some -# tests -%setup -q -c -T -%gem_install -n %{SOURCE0} +%setup -q -n %{gem_name}-%{version} -a 1 + +mv ../%{gem_name}-%{version}.gemspec . %build +gem build %{gem_name}-%{version}.gemspec +%gem_install %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} -cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ -# Cleanups -rm -f %{buildroot}%{gem_instdir}/setup.rb +rm -f %{buildroot}%{gem_cache} %check +cp -a %{gem_name}-%{test_version}/spec ./%{gem_instdir} pushd ./%{gem_instdir}/ -sed -i -e '2i gem "test-unit"' test/test_helper.rb - -ruby -Ilib:. -e 'Dir.glob("test/*.rb").each{|f| require f}' +rspec spec %files +%license %{gem_instdir}/COPYING.txt %dir %{gem_instdir} -%doc %{gem_instdir}/[A-Z]* -%{gem_instdir}/lib/ +%doc %{gem_instdir}/History.txt -%{gem_cache} +%{gem_libdir}/ %{gem_spec} %files doc -%{gem_instdir}/perf/ -%{gem_instdir}/test/ %{gem_docdir}/ %changelog +* Sun Nov 23 2025 Mamoru TASAKA - 4.4.2-1 +- 4.4.2 + * Fri Jul 25 2025 Fedora Release Engineering - 4.3.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild diff --git a/sources b/sources index 4fc4838..e7d66c7 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (htmlentities-4.3.4.gem) = 0163d6c014ffebb4ee9bdb15d32884c8d6af60681f240d3f0177811d37647776b8f8fd0aa4f1c7559403f36a5538ce8da6926bc16cc8105bd6eed5c180db700b +SHA512 (htmlentities-4.4.2.gem) = c9a9a44eb5fc6a9a0c03ce560600952178901dab74d1eab57b977cf073c3388850b948688b4c78f3513125a88e2dd8f2f103efd3d0057f4bc72d74eab0d74760 +SHA512 (htmlentities-4.4.1-tests.tar.gz) = 82813d0b7284539504d4f2bc486d9404e8b164407229491239b7e5063b6af7de6b2a772303e85884ef10b1226df6238e2d0aff1b7ed5a09b1970fb093df7da41