| |
@@ -2,41 +2,47 @@
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
Summary: Simple, blog aware, static site generator
|
| |
- Version: 4.1.1
|
| |
- Release: 3%{?dist}
|
| |
+ Version: 4.2.0
|
| |
+ Release: 1%{?dist}
|
| |
License: MIT
|
| |
|
| |
URL: https://github.com/jekyll/jekyll
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
Source1: %{url}/archive/v%{version}/%{gem_name}-%{version}.tar.gz
|
| |
|
| |
- # Patch the "new" command to skip the "bundle install" step
|
| |
+ # downstream patches maintained at https://pagure.io/jekyll-fedora/jekyll
|
| |
+
|
| |
+ # patch the "new" command to skip the "bundle install" step
|
| |
Patch0: 0000-jekyll-commands-remove-bundle-install-step-for-new.patch
|
| |
|
| |
- # Patch test helper to disable code coverage and minitest plugins
|
| |
+ # patch test helper to disable code coverage and minitest plugins
|
| |
Patch1: 0001-test-helper-disable-simplecov-and-minitest-plugins.patch
|
| |
|
| |
- # Patch to remove (failing) internet connectivity check
|
| |
+ # patch to remove (failing) internet connectivity check
|
| |
Patch2: 0002-test-utils-remove-internet-connectivity-test.patch
|
| |
|
| |
- # Patch to disable broken tests using the "test-theme" theme
|
| |
+ # patch to disable broken tests using the "test-theme" theme
|
| |
Patch3: 0003-test-disable-tests-requiring-the-test-theme.patch
|
| |
|
| |
- # Patches to remove tests for optional functionality with missing dependencies:
|
| |
+ # patches to remove tests for optional functionality with missing dependencies:
|
| |
# classifier-reborn, jekyll-coffeescript, pygments.rb, tomlrb
|
| |
Patch4: 0004-tests-related_posts-disable-tests-requiring-classifi.patch
|
| |
Patch5: 0005-test-coffeescript-disable-tests-requiring-coffeescri.patch
|
| |
|
| |
- # Patch to disable tests reliant on the Gemfile and .gemspec file,
|
| |
+ # patch to disable tests reliant on the Gemfile and .gemspec file,
|
| |
# which are not shipped as part of the jekyll gem:
|
| |
Patch6: 0006-test-plugin_manager-disable-tests-requiring-gemspec-.patch
|
| |
|
| |
- # Patch to disable a race-y test that fails regularly
|
| |
+ # patch to disable a race-y test that fails regularly
|
| |
Patch7: 0007-test-kramdown-disable-race-y-test.patch
|
| |
|
| |
+ # patch to make tests compatible with Ruby 3.0
|
| |
+ # https://github.com/jekyll/jekyll/commit/5c797ba
|
| |
+ Patch8: 0008-test-generated_site-fix-compatibility-with-Ruby-3.0.patch
|
| |
+
|
| |
BuildRequires: ruby(release)
|
| |
BuildRequires: rubygems-devel
|
| |
- BuildRequires: ruby >= 2.1.0
|
| |
+ BuildRequires: ruby >= 2.4.0
|
| |
|
| |
BuildRequires: help2man
|
| |
|
| |
@@ -62,19 +68,20 @@
|
| |
BuildRequires: rubygem(safe_yaml)
|
| |
BuildRequires: rubygem(shoulda)
|
| |
BuildRequires: rubygem(terminal-table)
|
| |
- BuildRequires: rubygem(tomlrb)
|
| |
+ BuildRequires: rubygem(tomlrb) >= 2.0.1
|
| |
+ BuildRequires: rubygem(webrick)
|
| |
|
| |
- # Additional gems required to run jekyll:
|
| |
+ # additional gems required to run jekyll
|
| |
Requires: rubygem(bigdecimal)
|
| |
Requires: rubygem(bundler)
|
| |
Requires: rubygem(json)
|
| |
|
| |
- # Additional gems needed to actually deploy jekyll with default settings:
|
| |
+ # additional gems needed to actually deploy jekyll with default settings
|
| |
Recommends: rubygem(jekyll-feed)
|
| |
Recommends: rubygem(jekyll-seo-tag)
|
| |
Recommends: rubygem(minima)
|
| |
|
| |
- # Provide "jekyll", since this package ships a binary
|
| |
+ # provide "jekyll", since this package ships a binary
|
| |
Provides: %{gem_name} = %{version}-%{release}
|
| |
|
| |
BuildArch: noarch
|
| |
@@ -115,6 +122,7 @@
|
| |
%patch5 -p1
|
| |
%patch6 -p1
|
| |
%patch7 -p1
|
| |
+ %patch8 -p1
|
| |
|
| |
# mercenary is too old in fedora (0.3.6 vs. 0.4.0)
|
| |
%gemspec_remove_dep -g mercenary "~> 0.4.0"
|
| |
@@ -136,8 +144,7 @@
|
| |
|
| |
find %{buildroot}%{gem_instdir}/exe -type f | xargs chmod a+x
|
| |
|
| |
-
|
| |
- # Build man page from "jekyll --help" output
|
| |
+ # build man page from "jekyll --help" output
|
| |
export GEM_PATH="%{buildroot}/%{gem_dir}:%{gem_dir}"
|
| |
|
| |
mkdir -p %{buildroot}%{_mandir}/man1
|
| |
@@ -174,6 +181,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Thu Jan 28 2021 Fabio Valentini <decathorpe@gmail.com> - 4.2.0-1
|
| |
+ - Update to version 4.2.0.
|
| |
+
|
| |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
| |
|
| |
These are the changes I had prepared locally for the jekyll 4.2.0 before orphaning the package (lack of time / do not use it anymore).
With tomlrb 2.0.1, the test suite passes 100%, but package installation fails due to unsatisfied terminal-table ~> 2.0 dependency (package needs to be updated first).
Non-upstreamable Fedora downstream patches maintained here for easy rebasing / cherry-picking:
https://pagure.io/jekyll-fedora/jekyll/commits/fedora-4.2.0