[rubygem-ruby-debug] - Fix shebang
Mamoru Tasaka
mtasaka at fedoraproject.org
Sun Sep 12 15:52:14 UTC 2010
commit c3200e847040b76a49a3c766d67376746fe54d34
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Mon Sep 13 00:52:07 2010 +0900
- Fix shebang
...-debug-0.10.4-rc1-rev948-shebang-misspell.patch | 17 +++++++++++++++++
rubygem-ruby-debug.spec | 11 +++++++++--
2 files changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/ruby-debug-0.10.4-rc1-rev948-shebang-misspell.patch b/ruby-debug-0.10.4-rc1-rev948-shebang-misspell.patch
new file mode 100644
index 0000000..9df4c7d
--- /dev/null
+++ b/ruby-debug-0.10.4-rc1-rev948-shebang-misspell.patch
@@ -0,0 +1,17 @@
+------------------------------------------------------------------------
+r948 | rockyb | 2010-09-12 10:30:04 +0900 (Sun, 12 Sep 2010) | 3 lines
+
+pm.rb: spelling mistake
+
+
+------------------------------------------------------------------------
+Index: test/pm.rb
+===================================================================
+--- test/pm.rb (revision 947)
++++ test/pm.rb (revision 948)
+@@ -1,4 +1,4 @@
+-#!/ursr/bin/env ruby
++#!/usr/bin/env ruby
+ # Test Debugger.catchpoint and post-mortem handling
+ def zero_div
+ x = 5
diff --git a/rubygem-ruby-debug.spec b/rubygem-ruby-debug.spec
index 1d42b85..d0f36a5 100644
--- a/rubygem-ruby-debug.spec
+++ b/rubygem-ruby-debug.spec
@@ -4,6 +4,8 @@
%global majorver 0.10.4
%global preminorver rc1
+%global mainrel 3
+
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname ruby-debug
%global geminstdir %{gemdir}/gems/%{gemname}-%{majorver}%{?preminorver}
@@ -13,7 +15,7 @@
Summary: Command line interface (CLI) for ruby-debug-base
Name: rubygem-%{gemname}
Version: %{majorver}
-Release: %{?preminorver:0.}2%{?preminorver:.%preminorver}%{?dist}
+Release: %{?preminorver:0.}%{mainrel}%{?preminorver:.%preminorver}%{?dist}
Group: Development/Languages
License: BSD
URL: http://rubyforge.org/projects/ruby-debug/
@@ -25,6 +27,8 @@ Source0: http://rubyforge.org/frs/download.php/%{repoid}/%{gemname}-%{majorver}%
Patch0: ruby-debug-0.10.4rc1-use-system-base-gem.patch
# Fix test failure
Patch1: ruby-debug-0.10.4rc1-tast-failure.patch
+# Patch from trunk: fix shebang
+Patch2: ruby-debug-0.10.4-rc1-rev948-shebang-misspell.patch
Requires: ruby(abi) = %{rubyabi}
Requires: rubygem(columnize)
@@ -62,6 +66,7 @@ pushd %{gemname}-%{majorver}%{?preminorver}/
## No backup
%patch0 -p1
%patch1 -p1
+%patch2 -p0
rake --verbose pkg/ruby-debug-%{majorver}%{?preminorver}.gem
popd
@@ -84,7 +89,6 @@ rm -f .%{geminstdir}/.require_paths
# Remaining rpmlint issue
# Removing shebangs on non-executable files in test/ breaks test, so not fixing this
-# test/pm.rb has wrong shebang (/ursr/bin/env) _intentionally_ (for test purpose)
# Also zero-length files are needed for test
%build
@@ -132,6 +136,9 @@ popd
%{geminstdir}/test/
%changelog
+* Mon Sep 13 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.10.4-0.3.rc1
+- Fix shebang
+
* Thu Sep 09 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.10.4-0.2.rc1
- release++
More information about the scm-commits
mailing list