a primitive ABI checking script
This commit is contained in:
parent
6441298c76
commit
d5825747ca
14
abi-check.sh
Normal file
14
abi-check.sh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
REL=$(rpm -q --qf "%{release}" ghc-compiler)
|
||||||
|
ARCH=$(arch)
|
||||||
|
PKGS=$(rpm -qa | grep -- -$REL | grep -v -- -devel | sort | sed -e "s/-[0-9.]\+-.*//")
|
||||||
|
|
||||||
|
for i in $PKGS; do
|
||||||
|
LOCAL=$(rpm -q --provides $i | grep ^ghc\( | grep -v =)
|
||||||
|
REPO=$(dnf repoquery -q --provides $i | grep ^ghc\( | grep -v = | sort | uniq)
|
||||||
|
if [ "$LOCAL" != "$REPO" ]; then
|
||||||
|
echo $LOCAL
|
||||||
|
echo $REPO
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user