[packages/ruby-bundler] up to 1.3.1

glen glen at pld-linux.org
Wed Apr 3 13:15:50 CEST 2013


commit 16b05ce9eab17ae6427131d8597d910626a015a3
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 3 14:13:36 2013 +0300

    up to 1.3.1

 ruby-bundler-vendor.patch |  7 -------
 ruby-bundler.spec         | 21 ++++++++++++---------
 2 files changed, 12 insertions(+), 16 deletions(-)
---
diff --git a/ruby-bundler.spec b/ruby-bundler.spec
index e01ba57..8163131 100644
--- a/ruby-bundler.spec
+++ b/ruby-bundler.spec
@@ -1,13 +1,12 @@
-%define pkgname bundler
-Summary:	Bundles are fun
+%define		pkgname bundler
+Summary:	Library and utilities to manage a Ruby application's gem dependencies
 Name:		ruby-%{pkgname}
-Version:	1.0.3
+Version:	1.3.1
 Release:	1
-License:	Ruby's
+License:	MIT
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	e6f674d6566d0f819f5342e66107c06e
-Patch0:		%{name}-vendor.patch
+# Source0-md5:	723c6fcc13c9e639994536cdcaa451a6
 URL:		http://github.com/carlhuda/bundler
 BuildRequires:	rpmbuild(macros) >= 1.277
 BuildRequires:	ruby-modules
@@ -20,7 +19,8 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_enable_debug_packages	0
 
 %description
-Bundles are fun.
+Bundler manages an application's dependencies through its entire life,
+across many machines, systematically and repeatably
 
 %package rdoc
 Summary:	HTML documentation for %{pkgname}
@@ -47,10 +47,9 @@ ri documentation for %{pkgname}.
 Dokumentacji w formacie ri dla %{pkgname}.
 
 %prep
-%setup -q -c
+%setup -qc
 %{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
 find -newer README.md -o -print | xargs touch --reference %{SOURCE0}
-%patch0 -p1
 
 rm lib/bundler/vendor/thor.rb
 rm -r lib/bundler/vendor/thor
@@ -60,7 +59,11 @@ rm -r lib/bundler/vendor
 rdoc --op rdoc lib
 rdoc --ri --op ri lib
 rm ri/created.rid
+rm ri/cache.ri
+
+# external pkgs
 rm -r ri/Gem
+rm ri/Object/cdesc-Object.ri
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/ruby-bundler-vendor.patch b/ruby-bundler-vendor.patch
deleted file mode 100644
index d5f2a12..0000000
--- a/ruby-bundler-vendor.patch
+++ /dev/null
@@ -1,7 +0,0 @@
---- ruby-bundler-0.9.10/lib/bundler/cli.rb~	2010-03-01 19:24:09.000000000 +0100
-+++ ruby-bundler-0.9.10/lib/bundler/cli.rb	2010-03-08 13:13:23.735260083 +0100
-@@ -1,4 +1,3 @@
--$:.unshift File.expand_path('../vendor', __FILE__)
- require 'thor'
- require 'rubygems/config_file'
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-bundler.git/commitdiff/16b05ce9eab17ae6427131d8597d910626a015a3



More information about the pld-cvs-commit mailing list