summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-02 08:24:00 +0200
committerRemi Collet <remi@remirepo.net>2020-04-02 08:24:00 +0200
commitb6ae1aad024a028ed1ba9f838cde2785905e300b (patch)
treed6283e6670879ac474f0a993863d837476bfabf9
parent6cfbc09f007b96c18fd1d394c0271dbf02d10661 (diff)
filter some base packagesHEADmaster
-rwxr-xr-xmkmodular4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkmodular b/mkmodular
index 0a4ad65..81c1fcc 100755
--- a/mkmodular
+++ b/mkmodular
@@ -201,10 +201,14 @@ EOT;
function findPackages($from, $dest, $pat) {
global $oldrpms;
+ $excl = ['php-amqplib', 'php-jsonlint', 'php-laminas-mime'];
$rpms = [];
foreach (glob("$from/$pat") as $file) {
$info = rpminfo($file);
$name = basename($file);
+ if (in_array($info['Name'], $excl)) {
+ continue;
+ }
if (!file_exists("$dest/$name")) {
if (link($file, "$dest/$name")) {
$k = array_search(basename($file), $oldrpms);