From d02d932a93a4761303a1f06390420ec0c5f0d276 Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 21 Sep 2023 20:45:52 +0300 Subject: [PATCH] import rubygem-test_declarative-0.0.6-2.el9 --- .gitignore | 1 + .rubygem-test_declarative.metadata | 1 + SOURCES/test_declarative-0.0.6.gem | Bin 0 -> 5120 bytes SPECS/rubygem-test_declarative.spec | 146 ++++++++++++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 .gitignore create mode 100644 .rubygem-test_declarative.metadata create mode 100644 SOURCES/test_declarative-0.0.6.gem create mode 100644 SPECS/rubygem-test_declarative.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f13663 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/test_declarative-0.0.6-test.tar.gz diff --git a/.rubygem-test_declarative.metadata b/.rubygem-test_declarative.metadata new file mode 100644 index 0000000..2ffc42b --- /dev/null +++ b/.rubygem-test_declarative.metadata @@ -0,0 +1 @@ +5d4f860056822f09ecaaa2be61bfc95fdf3968d2 SOURCES/test_declarative-0.0.6-test.tar.gz diff --git a/SOURCES/test_declarative-0.0.6.gem b/SOURCES/test_declarative-0.0.6.gem new file mode 100644 index 0000000000000000000000000000000000000000..284fc885e01006d398806e5b3a45e18a2ac0e560 GIT binary patch literal 5120 zcmeHJX*d*Y7oK9WlqUOAO{&~Cl(f8+lzwf)gtMlhP&vUNlT<6@+bwB40MW6OL;d9#OU_cb$ zpEAfdgTY{c@BW+p?4jS!pc+spL=y(pREGl~Pz{*6CIAfirwaNpFAjU!C*oU4XEA7W z$d7@a*8eX4XKOz+_tW+N)vZ)2C*V!n0oR>u&m3A#4np=l+f;ew8I_WAQpr5e5R5{~ zbrz*+A)T)H^~hfu*;`i=;`sTKHE}G&sz_Ki+x&A{z|Hp!q5-aEg=>vs5iZd{(e-l> zVwG-I6saV6)YbRmj$;QBQOa4Bi?ic9-^PRLU$e4U_)!@`w-HcfM5Dh}<|I**n4xXD zTpg}|D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#kL>xS#Gf9Xn+V zw{pD|cHqD~9%Mk*0s+;8YceD7fHK+vm!h8QJ8t+LZ#bgS>mTh+@YQMWW>I_y>{6Yw zs}{jdyRQ-7CAQfHp(OkgJj%DFFO)l_B>1iuA#*znRZFd&puxx#N;wEL0ydDh3V!~O zyvZ)=$%DBK(n2WFujTBFdgyx&nbEI^hPmJK`3%RcaUFt?l3Ga*a&VH5Knc)GO8N>F zTT||~^CP(Y(0l8})_B1NqM4mgOl*8XY`H)PR)tv7K}?!k#>8+38|CINJl@J@os6j4 zJ4t)gm+Y{klKqo4Td2!P(n|y4ka^9?5_~YwTMoC&Hmgp1@sb3z!;%~;*hNjHzA#`R zuGZ~QnJZqVFEzm_x(b&To66a|=2#yUUKcDi;m$U-gZ2x?;zF?p@jjs;|BMRw zE{%Vo{~<8w;h*L|3=V<+*8hLc3;#OHU-KW0)V60c+%vb7avq$PxpKcCBjcvGM%j6Lb2;=U!?#|?(@BSsI9npA5=U(x7d3>g&R s2~bsdV&1LgWPw^=9KYgyRcfv=@>ubXUjy|!`Wu1Y2>eFi{|teD0SKp?3;+NC literal 0 HcmV?d00001 diff --git a/SPECS/rubygem-test_declarative.spec b/SPECS/rubygem-test_declarative.spec new file mode 100644 index 0000000..5a68d94 --- /dev/null +++ b/SPECS/rubygem-test_declarative.spec @@ -0,0 +1,146 @@ +# Generated from test_declarative-0.0.5.gem by gem2rpm -*- rpm-spec -*- +%global gem_name test_declarative + +Name: rubygem-%{gem_name} +Version: 0.0.6 +Release: 2%{?dist} +Summary: Simply adds a declarative test method syntax to test/unit +License: MIT +URL: http://github.com/svenfuchs/test_declarative +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +# git clone https://github.com/svenfuchs/test_declarative.git && cd test_declarative +# git archive -v -o test_declarative-0.0.6-test.tar.gz v0.0.6 test/ +Source1: %{gem_name}-%{version}-test.tar.gz +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildRequires: rubygem(minitest) +BuildRequires: rubygem(test-unit) +BuildArch: noarch + +%description +Simply adds a declarative test method syntax to test/unit. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} -b 1 + +%build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.gemspec + +# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir +# by default, so that we can move it into the buildroot in %%install +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%check +pushd .%{gem_instdir} +ln -s %{_builddir}/test test + +# Use `BUNDLE_GEMFILE` env variable to trick the test suite to run against +# various test frameworks (and ignore Minitest 4.x). +# https://github.com/svenfuchs/test_declarative/blob/4c0ccc6f649f33f76772a826e6afd367b143cd66/test/test_declarative_test.rb#L10-L37 +BUNDLE_GEMFILE=Gemfile ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' +BUNDLE_GEMFILE=Gemfile.unit-test ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' +popd + +%files +%dir %{gem_instdir} +%license %{gem_instdir}/MIT-LICENSE +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md + +%changelog +* Thu Sep 21 2023 Arkady L. Shane - 0.0.6-2 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Sep 21 2022 Vít Ondruch - 0.0.6-1 +- Update to TestDeclarative 0.0.6. + Resolves: rhbz#1454751 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.0.5-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.0.5-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.0.5-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.0.5-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.0.5-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.0.5-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.0.5-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.0.5-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.0.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.0.5-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.0.5-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.0.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 0.0.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 19 2015 Josef Stribny - 0.0.5-8 +- Use Minitest 5 + +* Thu Jun 19 2014 Vít Ondruch - 0.0.5-7 +- Fix FTBFS in Rawhide (rhbz#1107256). + +* Sun Jun 08 2014 Fedora Release Engineering - 0.0.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 0.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Feb 26 2013 Vít Ondruch - 0.0.5-4 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 20 2012 Bohuslav Kabrda - 0.0.5-1 +- Initial package