Created
October 30, 2020 19:22
-
-
Save pvalena/cb37554e15b6a3e7e0f08fd2f2eafd49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- rubygem-minitest-around/.generated.spec 2020-10-30 20:21:02.131072088 +0100 | |
+++ rubygem-minitest-around/rubygem-minitest-around.spec 2020-10-30 20:16:13.907475819 +0100 | |
@@ -1,4 +1,3 @@ | |
-# Generated from minitest-around-0.5.0.gem by gem2rpm -*- rpm-spec -*- | |
%global gem_name minitest-around | |
Name: rubygem-%{gem_name} | |
@@ -10,10 +9,8 @@ | |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem | |
BuildRequires: ruby(release) | |
BuildRequires: rubygems-devel | |
-BuildRequires: ruby | |
-# BuildRequires: rubygem(cucumber) >= 2.4.0 | |
-# BuildRequires: rubygem(cucumber) < 2.5 | |
-# BuildRequires: rubygem(bump) | |
+BuildRequires: rubygem(minitest) | |
+BuildRequires: rubygem(cucumber) | |
BuildArch: noarch | |
%description | |
@@ -29,11 +26,15 @@ | |
Documentation for %{name}. | |
%prep | |
-%setup -q -n %{gem_name}-%{version} | |
+gem unpack %{SOURCE0} | |
+ | |
+%setup -q -D -T -n %{gem_name}-%{version} | |
+ | |
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec | |
%build | |
# Create the gem as gem install only works on a gem file | |
-gem build ../%{gem_name}-%{version}.gemspec | |
+gem build %{gem_name}.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 | |
@@ -46,31 +47,73 @@ | |
+ | |
+# Run the test suite | |
%check | |
pushd .%{gem_instdir} | |
-# cucumber | |
+ sed -i "/require 'bundler/ s/^/#/" test/helper.rb | |
+ RUBYOPT=-Ilib ruby -e 'Dir.glob "./test/*_{test,spec}.rb", &method(:require)' | |
+ RUBYOPT=-Ilib cucumber --tag ~@todo --tag ~@rspec | |
popd | |
%files | |
%dir %{gem_instdir} | |
-%exclude %{gem_instdir}/.gitignore | |
-%exclude %{gem_instdir}/.travis.yml | |
+%doc %{gem_instdir}/README.md | |
%license %{gem_instdir}/LICENSE | |
-%{gem_instdir}/config | |
%{gem_libdir} | |
-%exclude %{gem_cache} | |
%{gem_spec} | |
+%exclude %{gem_instdir}/.* | |
+%exclude %{gem_cache} | |
%files doc | |
%doc %{gem_docdir} | |
-%{gem_instdir}/Gemfile | |
-%doc %{gem_instdir}/README.md | |
-%{gem_instdir}/Rakefile | |
-%{gem_instdir}/examples | |
-%{gem_instdir}/features | |
-%{gem_instdir}/minitest-around.gemspec | |
-%{gem_instdir}/test | |
+%exclude %{gem_instdir}/config | |
+%exclude %{gem_instdir}/features | |
+%exclude %{gem_instdir}/Gemfile | |
+%exclude %{gem_instdir}/Rakefile | |
+%exclude %{gem_instdir}/examples | |
+%exclude %{gem_instdir}/minitest-around.gemspec | |
+%exclude %{gem_instdir}/test | |
%changelog | |
-* Fri Oct 30 2020 Pavel Valena <pvalena@redhat.com> - 0.5.0-1 | |
+* Fri Oct 30 20:16:13 CET 2020 Pavel Valena <pvalena@redhat.com> - 0.5.0-1 | |
+- Update to minitest-around 0.5.0. | |
+ | |
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-6 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild | |
+ | |
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild | |
+ | |
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild | |
+ | |
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild | |
+ | |
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild | |
+ | |
+* Thu Feb 08 2018 Ilya Gradina <ilya.gradina@gmail.com> - 0.4.1-1 | |
+- update to 0.4.1 | |
+ | |
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild | |
+ | |
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4 | |
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild | |
+ | |
+* Thu Nov 10 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.4.0-3 | |
+- change in check section | |
+ | |
+* Tue Nov 08 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.4.0-2 | |
+- fix tests | |
+ | |
+* Sat Nov 05 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.4.0-1 | |
+- update to 0.4.0 | |
+ | |
+* Tue Aug 16 2016 Ilya Gradina <ilya.gradina@gmail.com> - 0.3.2-2 | |
+- changes in files hierarchy | |
+ | |
+* Tue Sep 29 2015 Ilya Gradina <ilya.gradina@gmail.com> - 0.3.2-1 | |
- Initial package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment