]> git.pld-linux.org Git - packages/ruby.git/commitdiff
- added workaround for syntax errors on rbconfig.rb processing
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 8 Sep 2001 18:27:36 +0000 (18:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby.spec -> 1.13

ruby.spec

index 9884c5b0bfe0470f4809ceb2cb8c598e06d6d4d3..cb49659d8e66b8df291384e279cb9d22c1818d01 100644 (file)
--- a/ruby.spec
+++ b/ruby.spec
@@ -37,10 +37,7 @@ zwi
 rozszerzalny i przeno¶ny.
 
 %prep
-%setup -q -T -b 0
-%setup -q -T -D -a 1
-%setup -q -T -D -a 2
-%setup -q -T -D -a 3
+%setup -q -a1 -a2 -a3
 %patch0 -p1
 
 %build
@@ -54,6 +51,10 @@ autoconf
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_examplesdir}/%{name}-%{version}}
 
+# workaround (rather mkconfig.rb should be fixed, but I don't know ruby)
+sed -e 's/\(@ECHO_C@,\)\\c/\1\\\\c/' config.status > config.status.new
+mv -f config.status.new config.status
+
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.166671 seconds and 4 git commands to generate.