Skip to content

Instantly share code, notes, and snippets.

@pvalena
Created March 22, 2021 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvalena/e8bca10a3fbfac96f5bfab50f3175841 to your computer and use it in GitHub Desktop.
Save pvalena/e8bca10a3fbfac96f5bfab50f3175841 to your computer and use it in GitHub Desktop.
--- rubygem-sexp_processor/.generated.spec 2021-03-22 18:00:31.630717514 +0100
+++ rubygem-sexp_processor/rubygem-sexp_processor.spec 2021-03-22 17:53:51.775150537 +0100
@@ -1,19 +1,17 @@
-# Generated from sexp_processor-4.15.2.gem by gem2rpm -*- rpm-spec -*-
+# Generated from sexp_processor-3.0.3.gem by gem2rpm -*- rpm-spec -*-
%global gem_name sexp_processor
Name: rubygem-%{gem_name}
Version: 4.15.2
Release: 1%{?dist}
-Summary: sexp_processor branches from ParseTree bringing all the generic sexp processing tools with it
+Summary: A branch of ParseTree providing generic sexp processing tools
License: MIT
URL: https://github.com/seattlerb/sexp_processor
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
-BuildRequires: ruby >= 2.1
-BuildRequires: ruby < 4
-# BuildRequires: rubygem(hoe) >= 3.22
-# BuildRequires: rubygem(hoe) < 4
+BuildRequires: ruby
+BuildRequires: rubygem(minitest)
BuildArch: noarch
%description
@@ -50,12 +48,12 @@
%check
pushd .%{gem_instdir}
-# Run the test suite.
+ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
popd
%files
+%doc %{gem_instdir}/README.rdoc
%dir %{gem_instdir}
-%{gem_instdir}/Manifest.txt
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
@@ -63,10 +61,93 @@
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/History.rdoc
-%doc %{gem_instdir}/README.rdoc
+%doc %{gem_instdir}/Manifest.txt
%{gem_instdir}/Rakefile
%{gem_instdir}/test
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment