# Generated from between_meals-0.0.12.gem by gem2rpm -*- rpm-spec -*- %global gem_name between_meals Name: rubygem-%{gem_name} Version: 0.0.12 Release: 9%{?dist} Summary: Between Meals License: ASL 2.0 URL: https://github.com/facebook/between-meals Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/facebook/between-meals && cd between-meals # git checkout v0.0.12 # tar -czf rubygem-between_meals-0.0.12-specs.tgz spec/ Source1: rubygem-%{gem_name}-%{version}-specs.tar.gz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem-rspec BuildRequires: rubygem-simplecov BuildRequires: rubygem-mixlib-shellout BuildRequires: rubygem-rugged BuildArch: noarch %description Between Meals is the library for calculating what Chef objects were modified between two revisions in a version control system. It is also the library that backs Taste Tester and Grocery Delivery. It currently supports SVN, GIT and HG, but plugins can easily be written for other source control systems. It also includes some wrappers around knife execution and a few other utility functions. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.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 %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} ln -s %{_builddir}/spec . rspec spec popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Fri Jul 19 2024 Fedora Release Engineering - 0.0.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.0.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.0.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.0.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Davide Cavalca - 0.0.12-1 - Initial package