[rakudo/f13/master] update to new source from rakudo star release

Gerd Pokorra gerd at fedoraproject.org
Mon Aug 16 14:06:45 UTC 2010


commit 773172a7afeb18cda14090decf25629fc9da5c42
Author: gerd <gp at zimt.uni-siegen.de>
Date:   Mon Aug 16 16:06:46 2010 +0200

    update to new source from rakudo star release

 .gitignore  |    2 ++
 rakudo.spec |   33 +++++++++++++++++++--------------
 sources     |    3 ++-
 3 files changed, 23 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 668d880..273a47f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 rakudo-2010.07.tar.gz
+rakudo-star-2010.07.tar.gz
+rakudo.patch
diff --git a/rakudo.spec b/rakudo.spec
index e132183..8719169 100644
--- a/rakudo.spec
+++ b/rakudo.spec
@@ -7,13 +7,14 @@
 
 Name:           rakudo
 Version:        0.0.%{year}.%{month}_%{parrot_version}
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A Perl compiler on Parrot
 License:        Artistic 2.0
 Group:          Development/Languages
 URL:            http://www.rakudo.org/
 
-Source0:        http://github.com/downloads/rakudo/rakudo/rakudo-%{year}.%{month}.tar.gz
+Source0:        http://github.com/downloads/rakudo/star/rakudo-star-%{year}.%{month}.tar.gz
+Patch0:		rakudo.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -21,7 +22,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ncurses-devel
 BuildRequires:  readline-devel
 BuildRequires:  gmp-devel
-BuildRequires:  gdbm-devel
+#BuildRequires:  gdbm-devel
 BuildRequires:  libicu-devel
 
 BuildRequires:  parrot >= %{parrot_version}
@@ -35,36 +36,37 @@ on the Parrot VM. More information about Perl 6 is available from:
 http://perl6.org
 
 %prep
-%setup -q -n %{name}-%{year}.%{month}
-exit 0
+%setup -q -n %{name}-star-%{year}.%{month}
+%patch0 -p0
 
 %build
 %{__perl} Configure.pl
-%{__sed} -i -e 's&$(DESTDIR)$(DOCDIR)/rakudo&$(DESTDIR)$(DOCDIR)/rakudo-%{version}&' Makefile
-make
+%{__make}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__sed} -i -e 's&$(DESTDIR)$(DOCDIR)/rakudo&$(DESTDIR)$(DOCDIR)/rakudo-%{version}&' rakudo/Makefile
+
+%{__make} rakudo-install DESTDIR=$RPM_BUILD_ROOT
 
 # Force executable permission on shared objects so they get stripped
 %{__chmod} 755 $RPM_BUILD_ROOT%{parrot_dynext}/perl6*.so
 
 
 %check
-%{?!_without_tests: make test}
-exit 0
+%{?!_without_tests: make rakudo-test}
+
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root,-)
-%doc CREDITS LICENSE README docs/ChangeLog docs/ROADMAP
-%doc docs/S11-Modules-proposal.pod
+%doc rakudo/LICENSE rakudo/README rakudo/CREDITS docs/UsingPerl6-draft.pdf
+%doc rakudo/docs/*
 %{_bindir}/perl6
 %{parrot_dynext}/perl6_group.so
 %{parrot_dynext}/perl6_ops.so
@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Aug 16 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2010.07_2.6.0-2
+- update to new source from the rakudo-star release 2010.07 on parrot 2.6.0
+
 * Fri Jul 23 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2010.07_2.6.0-1
 - update to rakudo 2010.07 on parrot 2.6.0
 
diff --git a/sources b/sources
index e930852..ee8a2d7 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-6cc519feeb20bddbbee8cbfe6e8c2a31  rakudo-2010.07.tar.gz
+3be6d0f4f9d8d1143b6c25768e8a7342  rakudo-star-2010.07.tar.gz
+6db4988f215bfab2fa26b2f6a736732b  rakudo.patch


More information about the scm-commits mailing list