# Generated from http-accept-2.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name http-accept Name: rubygem-%{gem_name} Version: 2.1.1 Release: 12%{?dist} Summary: Parse Accept and Accept-Language HTTP headers License: MIT URL: https://github.com/ioquatix/http-accept Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/ioquatix/http-accept.git && cd http-accept # git checkout v2.1.1 && tar czvf http-accept-2.1.1-spec.tgz spec/ Source1: %{gem_name}-%{version}-spec.tgz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(rspec) BuildArch: noarch %description Parse Accept and Accept-Language HTTP headers. %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} ln -s %{_builddir}/spec . # No need to test coverage sed -i -e '/require..covered\/rspec./ s/^/#/' spec/spec_helper.rb rspec -Ilib:spec spec popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %license %{gem_instdir}/README.md %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %{gem_instdir}/Rakefile %{gem_instdir}/%{gem_name}.gemspec %changelog * Fri Jul 19 2024 Fedora Release Engineering - 2.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 2.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 30 2019 Pavel Valena - 2.1.1-1 - Initial package