|
|
8a86a4 |
|
|
|
8a86a4 |
%global enable_checks 1
|
|
|
8a86a4 |
|
|
|
8a86a4 |
# Generated from deep_merge-1.0.1.gem by gem2rpm -*- rpm-spec -*-
|
|
|
8a86a4 |
%global gem_name deep_merge
|
|
|
8a86a4 |
|
|
|
8a86a4 |
Name: rubygem-%{gem_name}
|
|
|
8a86a4 |
Version: 1.2.1
|
|
|
8a86a4 |
Release: 7%{?dist}
|
|
|
8a86a4 |
Summary: Merge Deeply Nested Hashes
|
|
|
8a86a4 |
License: MIT
|
|
|
8a86a4 |
URL: https://github.com/danielsdeleo/deep_merge
|
|
|
8a86a4 |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
8a86a4 |
Requires: ruby(rubygems)
|
|
|
8a86a4 |
BuildRequires: rubygems-devel
|
|
|
8a86a4 |
BuildRequires: ruby
|
|
|
8a86a4 |
%if 0%{?enable_checks}
|
|
|
8a86a4 |
BuildRequires: rubygem(minitest) >= 5
|
|
|
8a86a4 |
BuildRequires: rubygem(test-unit)
|
|
|
8a86a4 |
%endif
|
|
|
8a86a4 |
|
|
|
8a86a4 |
BuildArch: noarch
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%description
|
|
|
8a86a4 |
Recursively merge hashes.
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%package doc
|
|
|
8a86a4 |
Summary: Documentation for %{name}
|
|
|
8a86a4 |
Requires: %{name} = %{version}-%{release}
|
|
|
8a86a4 |
BuildArch: noarch
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%description doc
|
|
|
8a86a4 |
Documentation for %{name}
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%prep
|
|
|
8a86a4 |
gem unpack %{SOURCE0}
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%setup -q -D -T -n %{gem_name}-%{version}
|
|
|
8a86a4 |
|
|
|
8a86a4 |
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%build
|
|
|
8a86a4 |
# Create the gem as gem install only works on a gem file
|
|
|
8a86a4 |
gem build %{gem_name}.gemspec
|
|
|
8a86a4 |
|
|
|
8a86a4 |
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
|
8a86a4 |
# by default, so that we can move it into the buildroot in %%install
|
|
|
8a86a4 |
%gem_install
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%install
|
|
|
8a86a4 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
8a86a4 |
cp -pa .%{gem_dir}/* \
|
|
|
8a86a4 |
%{buildroot}%{gem_dir}/
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%check
|
|
|
8a86a4 |
%if 0%{?enable_checks}
|
|
|
8a86a4 |
ruby -Ilib test/test_deep_merge.rb
|
|
|
8a86a4 |
%endif
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%files
|
|
|
8a86a4 |
%dir %{gem_instdir}
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%{gem_libdir}
|
|
|
8a86a4 |
%exclude %{gem_cache}
|
|
|
8a86a4 |
%exclude %{gem_instdir}/CHANGELOG
|
|
|
8a86a4 |
%exclude %{gem_instdir}/test
|
|
|
8a86a4 |
%exclude %{gem_instdir}/Rakefile
|
|
|
8a86a4 |
%{gem_spec}
|
|
|
8a86a4 |
%doc %{gem_instdir}/LICENSE
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%files doc
|
|
|
8a86a4 |
%doc %{gem_docdir}
|
|
|
8a86a4 |
%doc %{gem_instdir}/README.md
|
|
|
8a86a4 |
|
|
|
8a86a4 |
|
|
|
8a86a4 |
%changelog
|
|
|
8a86a4 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu May 17 2018 Steve Traylen <steve.traylen@cern.ch> - 1.2.1-1
|
|
|
8a86a4 |
- Update to 1.2.1
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Mar 23 2017 Steve Traylen <steve.traylen@cern.ch> - 1.1.1-1
|
|
|
8a86a4 |
- Update to 1.1.1
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-7
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
|
|
|
8a86a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Thu Jun 19 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-5
|
|
|
8a86a4 |
- Ensure rubygem(minitest) is > 5 version on fc21.
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Tue Jun 3 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-4
|
|
|
8a86a4 |
- Include LICENSE file in main package.
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Mon Jun 2 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-3
|
|
|
8a86a4 |
- Drop usage of testrb and use ruby instead for checks.
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Fri May 30 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-2
|
|
|
8a86a4 |
- latest ruby guidelines and minitest5 patch
|
|
|
8a86a4 |
|
|
|
8a86a4 |
* Wed Feb 12 2014 Steve Traylen <steve.traylen@cern.ch> - 1.0.1-1
|
|
|
8a86a4 |
- Initial package
|