aboutsummaryrefslogtreecommitdiffstats
path: root/rebuild_perl_iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-07-20 23:10:18 +0100
committerPascal Terjan <pterjan@mageia.org>2017-07-20 23:10:18 +0100
commit98ef65e176a539eddd2007685f69cf019e03b250 (patch)
treeecff319c864ef408ddf8dd6109d072cc016da794 /rebuild_perl_iurt
parent08b3e5cdeb5bfea9566bdefc843aff27a6825c77 (diff)
downloadiurt-98ef65e176a539eddd2007685f69cf019e03b250.tar
iurt-98ef65e176a539eddd2007685f69cf019e03b250.tar.gz
iurt-98ef65e176a539eddd2007685f69cf019e03b250.tar.bz2
iurt-98ef65e176a539eddd2007685f69cf019e03b250.tar.xz
iurt-98ef65e176a539eddd2007685f69cf019e03b250.zip
Use libperl provide to find what needs a rebuild
Diffstat (limited to 'rebuild_perl_iurt')
-rwxr-xr-xrebuild_perl_iurt2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebuild_perl_iurt b/rebuild_perl_iurt
index 639af57..74d9a13 100755
--- a/rebuild_perl_iurt
+++ b/rebuild_perl_iurt
@@ -31,7 +31,7 @@ sudo urpmi --auto mgarepo
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 ^perlapi > $perlapis_path
+[ -e $perlapis_path ] || rpm -q --provides perl-base | grep ^libperl.so. > $perlapis_path
for p in perl perl-List-MoreUtils perl-Math-Int64 perl-URPM perl-Locale-gettext; do mgarepo getsrpm -l -n $p; done
rpm -ivh *.src.rpm
sudo urpmi --auto --no-verify-rpm rpmbuild/SPECS/*.spec