]> git.pld-linux.org Git - packages/ruby-diff-lcs.git/blobdiff - ruby-diff-lcs.spec
- renamed ruby-Diff-LCS -> ruby-diff-lcs
[packages/ruby-diff-lcs.git] / ruby-diff-lcs.spec
index f208bc2584889d584f3ee28ce1a75e7df2dbd6d2..4a0f80fc7943d8f50f066f7c2eb6671f4a7aa178 100644 (file)
@@ -1,11 +1,12 @@
+%define pkgname diff-lcs
 Summary:       a Ruby port of Algorithm::Diff
 Summary(pl.UTF-8):     Port Algorithm::Diff dla jÄ™zyka Ruby
-Name:          ruby-Diff-LCS
+Name:          ruby-%{pkgname}
 Version:       1.1.1
 Release:       4
 License:       GPL
 Group:         Development/Libraries
-Source0:       http://rubyforge.org/frs/download.php/1533/diff-lcs-%{version}.tar.gz
+Source0:       http://rubyforge.org/frs/download.php/1533/%{pkgname}-%{version}.tar.gz
 # Source0-md5: ecea8ae3b8823e740ef6cbef84495245
 Source1:       setup.rb
 Patch0:                %{name}-nogems.patch
@@ -14,6 +15,7 @@ BuildRequires:        rpmbuild(macros) >= 1.277
 BuildRequires: pax
 BuildRequires: ruby-modules
 %{?ruby_mod_ver_requires_eq}
+Obsoletes:     ruby-Diff-LCS
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.031675 seconds and 4 git commands to generate.