Blame SPECS/rubygem-introspection.spec

acf1c8
# Generated from introspection-0.0.2.gem by gem2rpm -*- rpm-spec -*-
acf1c8
%global gem_name introspection
acf1c8
acf1c8
Name: rubygem-%{gem_name}
acf1c8
Version: 0.0.4
acf1c8
Release: 10%{?dist}
acf1c8
Summary: Dynamic inspection of the hierarchy of method definitions on a Ruby object
acf1c8
# https://github.com/floehopper/introspection/issues/1
acf1c8
License: MIT
acf1c8
URL: http://jamesmead.org
acf1c8
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
acf1c8
BuildRequires: ruby(release)
acf1c8
BuildRequires: rubygems-devel
acf1c8
BuildRequires: ruby
acf1c8
BuildRequires: rubygem(metaclass) => 0.0.1
acf1c8
BuildRequires: rubygem(metaclass) < 0.1
acf1c8
# Required to satisfy the 'blankslate' require. May be replaced
acf1c8
# by rubygem(blankslate) when available in Fedora.
acf1c8
BuildRequires: rubygem(builder)
acf1c8
# There is no #assert_nothing_raised in minitest 5.x
acf1c8
BuildRequires: rubygem(minitest)
acf1c8
BuildArch: noarch
acf1c8
acf1c8
%description
acf1c8
Dynamic inspection of the hierarchy of method definitions on a Ruby object.
acf1c8
acf1c8
acf1c8
%package doc
acf1c8
Summary: Documentation for %{name}
acf1c8
Requires: %{name} = %{version}-%{release}
acf1c8
BuildArch: noarch
acf1c8
acf1c8
%description doc
acf1c8
Documentation for %{name}.
acf1c8
acf1c8
%prep
acf1c8
%setup -q -c -T
acf1c8
%gem_install -n %{SOURCE0}
acf1c8
acf1c8
%build
acf1c8
acf1c8
%install
acf1c8
mkdir -p %{buildroot}%{gem_dir}
acf1c8
cp -a .%{gem_dir}/* \
acf1c8
        %{buildroot}%{gem_dir}/
acf1c8
acf1c8
%check
acf1c8
pushd .%{gem_instdir}
acf1c8
# Disable Bundler.
acf1c8
sed -i '/bundler\/setup/ d' test/test_helper.rb
acf1c8
acf1c8
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
acf1c8
popd
acf1c8
acf1c8
acf1c8
%files
acf1c8
%license %{gem_instdir}/COPYING.txt
acf1c8
%dir %{gem_instdir}
acf1c8
%exclude %{gem_instdir}/.gitignore
acf1c8
%exclude %{gem_instdir}/.travis.yml
acf1c8
%exclude %{gem_instdir}/introspection.gemspec
acf1c8
%{gem_libdir}
acf1c8
%exclude %{gem_cache}
acf1c8
%{gem_spec}
acf1c8
acf1c8
%files doc
acf1c8
%doc %{gem_instdir}/README.md
acf1c8
%{gem_instdir}/Gemfile
acf1c8
%{gem_instdir}/Rakefile
acf1c8
%{gem_instdir}/samples
acf1c8
%{gem_instdir}/test
acf1c8
%doc %{gem_docdir}
acf1c8
acf1c8
%changelog
acf1c8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-10
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
acf1c8
acf1c8
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-9
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
acf1c8
acf1c8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-8
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
acf1c8
acf1c8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-7
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
acf1c8
acf1c8
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-6
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
acf1c8
acf1c8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-5
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
acf1c8
acf1c8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-4
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
acf1c8
acf1c8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-3
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
acf1c8
acf1c8
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-2
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
acf1c8
acf1c8
* Fri Dec 09 2016 Pavel Valena <pvalena@redhat.com> - 0.0.4-1
acf1c8
- Update to introspection 0.0.4(rhbz#1390394)
acf1c8
  - Remove patch0, subsumed
acf1c8
  - Remove patch1, subsumed
acf1c8
acf1c8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-5
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
acf1c8
acf1c8
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-4
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
acf1c8
acf1c8
* Thu Jun 19 2014 Vít Ondruch <vondruch@redhat.com> - 0.0.3-3
acf1c8
- Fix FTBFS in Rawhide (rhbz#1107144).
acf1c8
acf1c8
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-2
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
acf1c8
acf1c8
* Mon Apr 07 2014 Vít Ondruch <vondruch@redhat.com> - 0.0.3-1
acf1c8
- Update to introspection 0.0.3.
acf1c8
acf1c8
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-9
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
acf1c8
acf1c8
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 0.0.2-8
acf1c8
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
acf1c8
acf1c8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-7
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
acf1c8
acf1c8
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-6
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
acf1c8
acf1c8
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.0.2-5
acf1c8
- Rebuilt for Ruby 1.9.3.
acf1c8
acf1c8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-4
acf1c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
acf1c8
acf1c8
* Tue Oct 04 2011 Vít Ondruch <vondruch@redhat.com> - 0.0.2-3
acf1c8
- Fix BuildRequires and test suite.
acf1c8
- Move README.md into -doc subpackage and mark it properly.
acf1c8
acf1c8
* Tue Oct 04 2011 Vít Ondruch <vondruch@redhat.com> - 0.0.2-2
acf1c8
- Clarified license.
acf1c8
acf1c8
* Mon Oct 03 2011 Vít Ondruch <vondruch@redhat.com> - 0.0.2-1
acf1c8
- Initial package