diff --git a/loofah-2.10.0-test.tar.gz b/loofah-2.10.0-test.tar.gz deleted file mode 100644 index 1203d8a..0000000 Binary files a/loofah-2.10.0-test.tar.gz and /dev/null differ diff --git a/loofah-2.10.0.gem b/loofah-2.10.0.gem deleted file mode 100644 index 755654a..0000000 Binary files a/loofah-2.10.0.gem and /dev/null differ diff --git a/loofah-2.18.0.gem b/loofah-2.18.0.gem new file mode 100644 index 0000000..26db6a4 Binary files /dev/null and b/loofah-2.18.0.gem differ diff --git a/rubygem-loofah.spec b/rubygem-loofah.spec index bec8d62..bd02cdf 100644 --- a/rubygem-loofah.spec +++ b/rubygem-loofah.spec @@ -1,7 +1,7 @@ %global gem_name loofah Name: rubygem-%{gem_name} -Version: 2.10.0 +Version: 2.18.0 Release: 1 Summary: Manipulate and transform HTML/XML documents and fragments License: MIT @@ -9,7 +9,7 @@ URL: https://github.com/flavorjones/loofah Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/flavorjones/loofah.git && cd loofah # git archive -v -o loofah-2.10.0-test.tar.gz v2.10.0 test/ -Source1: %{gem_name}-%{version}-test.tar.gz +Source1: https://github.com/flavorjones/loofah/archive/refs/tags/v2.18.0.tar.gz BuildRequires: ruby(release) rubygems-devel rubygem(nokogiri) >= 1.6.6.2 rubygem(minitest) BuildRequires: rubygem(crass) rubygem(rr) ruby BuildArch: noarch @@ -42,7 +42,7 @@ cp -a .%{gem_dir}/* \ %check pushd .%{gem_instdir} -cp -a %{_builddir}/test . +cp -a %{_builddir}/%{gem_name}-%{version}/test . ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd @@ -60,6 +60,9 @@ popd %doc %{gem_instdir}/SECURITY.md %changelog +* Thu Jul 14 2022 Ge Wang - 2.18.0-1 +- update to 2.18.0 + * Thu Mar 03 2022 jiangxinyu - 2.10.0-1 - update to 2.10.0 diff --git a/v2.18.0.tar.gz b/v2.18.0.tar.gz new file mode 100644 index 0000000..096d1bc Binary files /dev/null and b/v2.18.0.tar.gz differ