packages: ruby-activerecord/ruby-activerecord.spec - renamed ruby-ActiveRec...

baggins baggins at pld-linux.org
Sat Feb 27 18:37:23 CET 2010


Author: baggins                      Date: Sat Feb 27 17:37:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- renamed ruby-ActiveRecord -> ruby-activerecord

---- Files affected:
packages/ruby-activerecord:
   ruby-activerecord.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: packages/ruby-activerecord/ruby-activerecord.spec
diff -u packages/ruby-activerecord/ruby-activerecord.spec:1.39 packages/ruby-activerecord/ruby-activerecord.spec:1.40
--- packages/ruby-activerecord/ruby-activerecord.spec:1.39	Tue Jan  6 07:53:36 2009
+++ packages/ruby-activerecord/ruby-activerecord.spec	Sat Feb 27 18:37:17 2010
@@ -2,14 +2,15 @@
 # TODO
 # - rip out vendor libraries: mysql.rb, sqlite.rb, simple.rb
 #
+%define pkgname activerecord
 Summary:	Object-Relational mapping library for Ruby
 Summary(pl.UTF-8):	Biblioteka odwzorowań obiektowo-relacyjnych dla Ruby
-Name:		ruby-ActiveRecord
+Name:		ruby-%{pkgname}
 Version:	2.0.5
 Release:	1
 License:	Ruby-alike
 Group:		Development/Languages
-Source0:	http://rubyforge.org/frs/download.php/45356/activerecord-%{version}.tgz
+Source0:	http://rubyforge.org/frs/download.php/45356/%{pkgname}-%{version}.tgz
 # Source0-md5:	66f03d75467fdf589daa59a93ff84001
 Patch0:		%{name}-sqlitethreads.patch
 Patch1:		%{name}-rubygems.patch
@@ -18,8 +19,9 @@
 BuildRequires:	ruby >= 1:1.8.6
 BuildRequires:	ruby-modules
 %{?ruby_mod_ver_requires_eq}
-Requires:	ruby-ActiveSupport >= 2.0.1
+Requires:	ruby-activesupport >= 2.0.1
 Requires:	ruby-transaction-simple
+Obsoletes:	ruby-ActiveRecord
 #BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -63,7 +65,7 @@
 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
-cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}-%{release}
+cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{pkgname}-%{version}-%{release}
 
 rm -f $RPM_BUILD_ROOT%{ruby_ridir}/created.rid
 rm -rf $RPM_BUILD_ROOT%{ruby_ridir}/Fixture
@@ -85,7 +87,7 @@
 
 %files rdoc
 %defattr(644,root,root,755)
-%{ruby_rdocdir}/%{name}-%{version}-%{release}
+%{ruby_rdocdir}/%{pkgname}-%{version}-%{release}
 %{ruby_ridir}/ActiveRecord
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -94,6 +96,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2010/02/27 17:37:17  baggins
+- renamed ruby-ActiveRecord -> ruby-activerecord
+
 Revision 1.39  2009/01/06 06:53:36  glen
 - 2.0.5, add -rdoc, rdoc such filelist needs ruby 1.8.6 to build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ruby-activerecord/ruby-activerecord.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list