Browse Source

"get rid of top-level src/ the right way: shift it down as it is really required (by e.g. Rakudo)"

master
parent
commit
72d2f04770
  1. 12
      parrot/parrot.patch
  2. 1
      parrot/parrot.spec

12
parrot/parrot.patch

@ -80,3 +80,15 @@ Index: lib/Parrot/Configure/Options/Conf/Shared.pm
without-pcre
without-threads
yacc
Index: config/init/install.pm
--- config/init/install.pm.orig 2009-07-14 06:43:40 +0200
+++ config/init/install.pm 2010-02-03 09:22:13 +0100
@@ -85,7 +85,7 @@
my $mandir = assign_dir( $conf, 'mandir', $prefix, '/man' );
# --srcdir=DIR source code files PREFIX/src]
- my $srcdir = assign_dir( $conf, 'srcdir', $prefix, '/src' );
+ my $srcdir = assign_dir( $conf, 'srcdir', $prefix, '/share/parrot/src' );
$conf->data->set(
prefix => $prefix,

1
parrot/parrot.spec

@ -141,7 +141,6 @@ AutoReqProv: no
mv $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot/*/parrot.pc \
$RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot.pc
rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/pkgconfig/parrot
rm -rf $RPM_BUILD_ROOT%{l_prefix}/src
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
# determine installation files

Loading…
Cancel
Save