From bdb0c87d20a866c372825870d600b80c0c84cb8d Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Thu, 14 Dec 2017 18:08:23 +0100 Subject: Update to AsciiBinder 0.1.13. --- rubygem-ascii_binder.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rubygem-ascii_binder.spec b/rubygem-ascii_binder.spec index c8256fc..ae282f7 100644 --- a/rubygem-ascii_binder.spec +++ b/rubygem-ascii_binder.spec @@ -2,7 +2,7 @@ %global gem_name ascii_binder Name: rubygem-%{gem_name} -Version: 0.1.10.1 +Version: 0.1.13 Release: 1%{?dist} Summary: An AsciiDoc-based system for authoring and publishing documentation License: MIT @@ -12,7 +12,7 @@ BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(asciidoctor) -BuildRequires: rubygem(cucumber) >= 2.3.3 +BuildRequires: %{_bindir}/cucumber BuildRequires: rubygem(git) BuildRequires: rubygem(diff_dirs) >= 0.1.2 BuildRequires: rubygem(sitemap_generator) @@ -45,6 +45,7 @@ ln -sf asciibinder bin/ascii_binder %gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g sitemap_generator '~> 5.1.0' %gemspec_add_dep -s ../%{gem_name}-%{version}.gemspec -g sitemap_generator '>= 5.1.0' +# The asciidoctor-diagram and pandoc-ruby are not in Fedora yet. %gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g asciidoctor-diagram '~> 1.5.5' sed -i '/asciidoctor-diagram/ s/^/#/' lib/ascii_binder/engine.rb %gemspec_remove_dep -s ../%{gem_name}-%{version}.gemspec -g pandoc-ruby '>= 0' @@ -77,6 +78,9 @@ cp -a .%{_bindir}/* \ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x +# Fix shebang. +sed -i 's|/usr/bin/env ruby|/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/asciibinder + %check git config --global user.email "you@example.com" git config --global user.name "Your Name" @@ -113,5 +117,8 @@ popd %{gem_instdir}/features %changelog +* Thu Dec 14 2017 Vít Ondruch - 0.1.13-1 +- Update to AsciiBinder 0.1.13. + * Fri Sep 08 2017 Vít Ondruch - 0.1.10.1-1 - Initial package -- cgit