## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global gem_name jekyll-feed Name: rubygem-%{gem_name} Version: 0.17.0 Release: %autorelease Summary: Jekyll plugin to generate an Atom feed of your Jekyll posts License: MIT URL: https://github.com/jekyll/jekyll-feed Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: %{url}/archive/v%{version}/%{gem_name}-%{version}.tar.gz BuildRequires: ruby >= 2.4.0 BuildRequires: rubygems-devel BuildRequires: ruby(release) BuildRequires: (rubygem(jekyll) >= 3.7 with rubygem(jekyll) < 5.0) BuildRequires: (rubygem(nokogiri) >= 1.6 with rubygem(nokogiri) < 2) BuildRequires: (rubygem(rspec) >= 3.0 with rubygem(rspec) < 4) BuildRequires: rubygem(typhoeus) BuildRequires: rubygem(rss) BuildArch: noarch %description A Jekyll plugin to generate an Atom feed of your Jekyll posts. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} # extract test files not shipped with the gem mkdir upstream && pushd upstream tar -xzvf %{SOURCE1} mv %{gem_name}-%{version}/spec ../spec popd && rm -r upstream %build gem build ../%{gem_name}-%{version}.gemspec %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/ %check # Tests fail when LANG is not set to a UTF-8 locale LANG=C.UTF-8 rspec spec %files %license %{gem_instdir}/LICENSE.txt %dir %{gem_instdir} %{gem_libdir} %{gem_spec} %exclude %{gem_cache} %files doc %doc %{gem_instdir}/History.markdown %doc %{gem_instdir}/README.md %doc %{gem_docdir} %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.17.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.17.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.17.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.17.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Oct 15 2022 Otto Liljalaakso - 0.17.0-1 - Update to 0.17.0 (rhbz#2134996) * Sat Jul 23 2022 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 03 2022 Otto Urpelainen - 0.16.0-1 - Update to 0.16.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.15.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Feb 14 2021 Otto Urpelainen - 0.15.1-3 - Fix BuildRequires for Ruby 3.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.15.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Oct 09 2020 Fabio Valentini - 0.15.1-1 - Update to version 0.15.1. * Wed Jul 29 2020 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 13 2020 Fabio Valentini - 0.15.0-1 - Update to version 0.15.0. - Include spec files from GitHub since they're no longer shipped with the gem. - Drop packaging fixes for files that are no longer included in the gem. * Fri Jan 31 2020 Fabio Valentini - 0.13.0-3 - Add BR: rubygem(racc) to fix FTBFS issue. * Thu Jan 30 2020 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 16 2019 Fabio Valentini - 0.13.0-1 - Update to version 0.13.0. * Fri Jul 26 2019 Fedora Release Engineering - 0.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 31 2019 Fabio Valentini - 0.12.1-1 - Update to version 0.12.1. * Fri Mar 22 2019 Fabio Valentini - 0.12.0-1 - Update to version 0.12.0. * Sat Feb 02 2019 Fedora Release Engineering - 0.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.11.0-2 - Use C.UTF-8 locale See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Mon Sep 10 2018 Fabio Valentini - 0.11.0-1 - Update to version 0.11.0. * Sat Jul 14 2018 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 05 2018 Fabio Valentini - 0.10.0-1 - Update to version 0.10.0. - Re-enable tests. * Mon Jun 04 2018 Fabio Valentini - 0.9.3-2 - Temporarily disable tests. * Mon Apr 23 2018 Fabio Valentini - 0.9.3-1 - Initial package ## END: Generated by rpmautospec