aboutsummaryrefslogtreecommitdiffstats
path: root/rebuild_perl_iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-08-03 22:25:48 +0000
committerPascal Terjan <pterjan@mageia.org>2018-08-03 22:25:48 +0000
commit1230177d30a6ba89b103e907a91a07e3fee9c2ed (patch)
treeeb8103d7d3db972978e3cc1d6ff68c1773264bc8 /rebuild_perl_iurt
parent131003eeeeb718317cf658094f2e95b2a685c427 (diff)
downloadiurt-1230177d30a6ba89b103e907a91a07e3fee9c2ed.tar
iurt-1230177d30a6ba89b103e907a91a07e3fee9c2ed.tar.gz
iurt-1230177d30a6ba89b103e907a91a07e3fee9c2ed.tar.bz2
iurt-1230177d30a6ba89b103e907a91a07e3fee9c2ed.tar.xz
iurt-1230177d30a6ba89b103e907a91a07e3fee9c2ed.zip
Rebuild perl-List-MoreUtils-XS before perl-List-MoreUtils
Diffstat (limited to 'rebuild_perl_iurt')
-rwxr-xr-xrebuild_perl_iurt6
1 files changed, 4 insertions, 2 deletions
diff --git a/rebuild_perl_iurt b/rebuild_perl_iurt
index eafd9d6..9f13f4f 100755
--- a/rebuild_perl_iurt
+++ b/rebuild_perl_iurt
@@ -33,13 +33,15 @@ mkdir -p ~/.mgarepo
perl -pe 's/svn\+ssh:/svn:/' /etc/mgarepo.conf > ~/.mgarepo/config
perlapis_path=$HOME/perlapis.txt
[ -e $perlapis_path ] || rpm -q --provides perl-base | grep ^libperl.so. > $perlapis_path
-for p in perl perl-Test-LeakTrace perl-List-MoreUtils perl-URPM perl-Locale-gettext; do mgarepo getsrpm -n $p; done
-rpm -ivh *.src.rpm
+for p in perl perl-Test-LeakTrace perl-List-MoreUtils-XS perl-List-MoreUtils perl-URPM perl-Locale-gettext; do mgarepo getsrpm -n $p; done
+rpm -ivh --nodeps *.src.rpm
sudo urpmi --auto --no-verify-rpm rpmbuild/SPECS/*.spec
rpmbuild -ba rpmbuild/SPECS/perl.spec
sudo rpm -Uvh --nodeps --force $(ls rpmbuild/RPMS/*/perl-*.rpm | grep -v debuginfo)
rpmbuild -ba rpmbuild/SPECS/perl-Test-LeakTrace.spec
sudo rpm -Uvh --force rpmbuild/RPMS/*/perl-Test-LeakTrace*.rpm
+rpmbuild -ba rpmbuild/SPECS/perl-List-MoreUtils-XS.spec
+sudo rpm -Uvh --force rpmbuild/RPMS/*/perl-List-MoreUtils-XS*.rpm
PERL5LIB=$(rpm -ql perl-List-MoreUtils-XS perl-List-MoreUtils | perl -ne 's!/List/MoreUtils.pm!! && print') LIST_MOREUTILS_PP=1 rpmbuild -ba rpmbuild/SPECS/perl-List-MoreUtils.spec
sudo rpm -Uvh --force rpmbuild/RPMS/*/perl-List-MoreUtils-*.rpm
rpmbuild -ba rpmbuild/SPECS/perl-Math-Int64.spec