%global gem_name docile Summary: Docile keeps your Ruby DSLs tame and well-behaved Name: rubygem-%{gem_name} Version: 1.3.2 Release: 1%{?dist} License: MIT URL: https://ms-ati.github.com/docile/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # Tests are not shipped with this gem, you may get them like so: # git clone --no-checkout https://github.com/ms-ati/docile.git # cd docile && git archive -v -o docile-1.3.2-spec.txz v1.3.2 spec/ on_what.rb Source1: %{gem_name}-%{version}-spec.txz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: rubygem(mime-types) BuildRequires: rubygem(rake) BuildRequires: rubygem(redcarpet) BuildRequires: rubygem(rspec) BuildRequires: rubygem(yard) BuildArch: noarch %description Docile turns any Ruby object into a DSL. Especially useful with the Builder pattern. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -n %{gem_name}-%{version} -b1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Symlink the test suite ln -s %{_builddir}/spec . rspec -Ilib spec popd %files %doc %{gem_instdir}/LICENSE %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %exclude %{gem_instdir}/Gemfile %exclude %{gem_instdir}/docile.gemspec %exclude %{gem_instdir}/.* %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/HISTORY.md %doc %{gem_instdir}/README.md %{gem_instdir}/on_what.rb %{gem_instdir}/Rakefile %changelog * Thu Nov 12 23:29:45 CET 2020 Pavel Valena <pvalena@redhat.com> - 1.3.2-1 - Update to docile 1.3.2. Resolves: rhbz#1533680 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Oct 27 2014 Troy Dawson <tdawson@redhat.com> - 1.1.5-1 - Updated to latest release * Fri Jun 13 2014 Troy Dawson <tdawson@redhat.com> - 1.1.4-1 - Update to version 1.1.4 - Tests now run without coveralls * Wed Apr 02 2014 Troy Dawson <tdawson@redhat.com> - 1.1.3-1 - Initial package