From 24c8b248c94fb8f0c4173e59bc8eb17f291c767e Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 26 Jul 2018 11:36:26 +0200 Subject: [PATCH] Change license and text, aligning with the output of gem2rpm. --- rubygem-coderay.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/rubygem-coderay.spec b/rubygem-coderay.spec index 4fb7078..93ac05b 100644 --- a/rubygem-coderay.spec +++ b/rubygem-coderay.spec @@ -1,10 +1,10 @@ %global gem_name coderay -Summary: Fast syntax highlighter engine for many programming languages Name: rubygem-%{gem_name} Version: 1.1.2 -Release: 1%{?dist} -License: LGPLv2+ +Release: 2%{?dist} +Summary: Fast syntax highlighting for selected languages +License: MIT URL: http://coderay.rubychan.de Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone https://github.com/rubychan/coderay.git && cd coderay @@ -12,13 +12,13 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: %{gem_name}-%{version}-tests.tgz BuildRequires: ruby(release) BuildRequires: rubygems-devel +BuildRequires: ruby >= 1.8.6 BuildRequires: rubygem(test-unit) BuildArch: noarch %description -Coderay is a Ruby library for syntax highlighting. CodeRay is build to be easy -to use and intuitive, but at the same time fully featured, complete, fast and -efficient. +Fast and easy syntax highlighting for selected languages, written in Ruby. +Comes with RedCloth integration and LOC counter. %package doc @@ -47,15 +47,16 @@ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ - find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} tar xzvf %{SOURCE1} +# See https://github.com/rubychan/coderay/blob/master/rake_tasks/test.rake LANG=en_US.UTF-8 ruby ./test/functional/suite.rb ruby ./test/functional/for_redcloth.rb +ruby ./test/unit/suite.rb popd %files @@ -72,6 +73,9 @@ popd %doc %{gem_instdir}/README_INDEX.rdoc %changelog +* Thu Jul 26 2018 Jun Aruga - 1.1.2-2 +- Change license and text, aligning with the output of gem2rpm. + * Wed Jul 25 2018 Jun Aruga - 1.1.2-1 - update to new version