From 4495d9e1ed076582e9a79b205f10f74b7b13ace6 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: Sep 16 2008 23:09:08 +0000 Subject: New version --- diff --git a/.cvsignore b/.cvsignore index 64f6a16..af91bc1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -rubygems-0.9.4.tgz +rubygems-1.2.0.tgz diff --git a/rubygems.spec b/rubygems.spec index 9fba6f0..04aa8d0 100644 --- a/rubygems.spec +++ b/rubygems.spec @@ -3,47 +3,29 @@ %define gem_home %{gem_dir}/%{rb_ver} %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') -%define has_ruby_abi 0%{?fedora:%fedora} >= 5 || 0%{?rhel:%rhel} >= 5 -%define has_ruby_noarch %has_ruby_abi -# Whether rdoc is in ruby-rdoc or in the main ruby package -%define has_ruby_rdoc %has_ruby_abi -# rdoc on RHEL4 has a bug that makes rdoc generation for rubygems fail -%define suppress_rdoc 0%{?rhel:%rhel} == 4 - Summary: The Ruby standard for packaging ruby libraries Name: rubygems -Version: 0.9.4 +Version: 1.2.0 Release: 1%{?dist} Group: Development/Libraries -License: Ruby License/GPL +# No GPL version is specified. +License: Ruby or GPL+ URL: http://rubyforge.org/projects/rubygems/ -Source0: http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz +Source0: http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz Patch0: noarch-gemdir.patch -Patch1: no-rdoc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) -%if %has_ruby_abi -Requires: ruby(abi) = 1.8 -%endif -BuildRequires: ruby -%if %has_ruby_rdoc -Requires: ruby-rdoc -BuildRequires: ruby-rdoc -%endif -%if %has_ruby_noarch +Requires: ruby(abi) = 1.8 ruby-rdoc +BuildRequires: ruby ruby-rdoc BuildArch: noarch -%endif Provides: ruby(rubygems) = %{version} %description -RubyGems is the Ruby standard for publishing and managing third party +RubyGems is the Ruby standard for publishing and managing third party libraries. %prep %setup -q %patch0 -p1 -%if %suppress_rdoc -%patch1 -p1 -%endif # Some of the library files start with #! which rpmlint doesn't like # and doesn't make much sense @@ -52,41 +34,38 @@ for f in `find lib -name \*.rb` ; do done %build -CFLAGS="$RPM_OPT_FLAGS" \ -ruby setup.rb config -ruby setup.rb setup -ruby doc/makedoc.rb +# Nothing %install rm -rf $RPM_BUILD_ROOT GEM_HOME=$RPM_BUILD_ROOT%{gem_home} \ - ruby setup.rb install --prefix=$RPM_BUILD_ROOT + ruby setup.rb --destdir=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) -%doc README TODO ChangeLog Releases gemspecs +%doc README TODO ChangeLog %doc GPL.txt LICENSE.txt %{_bindir}/gem -%{_bindir}/gemlock -%{_bindir}/gem_mirror -%{_bindir}/gemri -%{_bindir}/gem_server -%{_bindir}/gemwhich -%{_bindir}/index_gem_repository.rb -%{_bindir}/update_rubygems %{gem_dir} -%{ruby_sitelib}/gemconfigure.rb %{ruby_sitelib}/ubygems.rb %{ruby_sitelib}/rubygems.rb %{ruby_sitelib}/rubygems -%{ruby_sitelib}/rbconfig/datadir.rb +%{ruby_sitelib}/rbconfig %changelog +* Tue Sep 16 2008 David Lutterkort - 1.2.0-1 +- Updated for new setup.rb +- Simplified by removing conditionals that were needed for EL-4; + there's just no way we can support that with newer rubygems + +* Wed Sep 3 2008 Tom "spot" Callaway - 0.9.4-2 +- fix license tag + * Fri Jul 27 2007 David Lutterkort - 0.9.4-1 - Conditionalize so it builds on RHEL4 @@ -111,4 +90,4 @@ rm -rf $RPM_BUILD_ROOT - Updated for 0.8.11 * Sun Oct 10 2004 Omar Kilani 0.8.1-1ts -- First version of the package +- First version of the package diff --git a/sources b/sources index 05d772a..999c22d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b5680acaa019c80ea44fe87cc2e227da rubygems-0.9.4.tgz +b77a4234360735174d1692e6fc598402 rubygems-1.2.0.tgz