From 6082e09aace42704ec0b7fcc18f4e6165e7f3f21 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Jul 01 2014 08:36:30 +0000 Subject: Update to 1.2.5 (bz#902240) --- diff --git a/.gitignore b/.gitignore index 4360215..e94fcfa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ diff-lcs-1.1.2.gem /diff-lcs-1.1.3.gem +/diff-lcs-1.2.5.gem diff --git a/rubygem-diff-lcs.spec b/rubygem-diff-lcs.spec index 05d3e2f..fcabe91 100644 --- a/rubygem-diff-lcs.spec +++ b/rubygem-diff-lcs.spec @@ -2,28 +2,25 @@ # %%check section needs rspec-expectations, however rspec-expectations depends # on diff-lcs. -%{!?need_bootstrap: %global need_bootstrap 1} +%{!?need_bootstrap: %global need_bootstrap 0} Summary: Provide a list of changes between two sequenced collections Name: rubygem-%{gem_name} -Version: 1.1.3 -Release: 5%{?dist} +Version: 1.2.5 +Release: 1%{?dist} Group: Development/Languages #lib/diff/lcs.rb is Artistic or Ruby or BSD #lib/diff/lcs/*.rb is GPLv2+ or Artistic or Ruby or BSD #License.rdoc states GPLv2+ or Artistic or MIT License: (GPLv2+ or Artistic or MIT) and (GPLv2+ or Artistic or Ruby or BSD) and (Artistic or Ruby or BSD) -URL: http://rubyforge.org/projects/ruwiki/ -Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem -Requires: ruby(release) -Requires: rubygems +URL: https://github.com/halostatue/diff-lcs +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: rubygems-devel %if 0%{?need_bootstrap} < 1 BuildRequires: rubygem(rspec) %endif BuildRequires: ruby(release) BuildArch: noarch -Provides: rubygem(%{gem_name}) = %{version} %description Diff::LCS is a port of Algorithm::Diff that uses the McIlroy-Hunt longest @@ -58,19 +55,6 @@ cp -a .%{_bindir}/* %{buildroot}/%{_bindir} find %{buildroot}%{gem_instdir}/bin -type f |xargs chmod a+x -# Remove the bad shebangs. -# https://github.com/halostatue/diff-lcs/pull/9 - -# We strip bad shebangs (/usr/bin/env) instead of fixing them -# since these files are not executable anyways -find %{buildroot}%{gem_dir} \( -name '*.rb' -o -name 'Rakefile' \) \ - -exec grep -q '^#!' '{}' \; -print |while read F -do - awk '/^#!/ {if (FNR == 1) next;} {print}' $F >chopped - touch -r $F chopped - mv chopped $F -done - # Fix shebangs. sed -i 's|^#!.*|#!/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/{htmldiff,ldiff} @@ -95,15 +79,20 @@ popd %files doc %doc %{gem_docdir} +%doc %{gem_instdir}/Contributing.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/Manifest.txt +%{gem_instdir}/Gemfile %{gem_instdir}/Rakefile -%{gem_instdir}/diff-lcs.gemspec %doc %{gem_instdir}/README.rdoc +%{gem_instdir}/autotest %{gem_instdir}/spec %changelog +* Tue Jul 01 2014 Julian Dunn - 1.2.5-1 +- Update to 1.2.5 (bz#902240) + * Sun Jun 08 2014 Fedora Release Engineering - 1.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 549966f..fbc7892 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -86595b4618756d1dceac28e6104e285f diff-lcs-1.1.3.gem +7172cb271324fa944d9fbea5fe1f7344 diff-lcs-1.2.5.gem