From b6ae1aad024a028ed1ba9f838cde2785905e300b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 2 Apr 2020 08:24:00 +0200
Subject: filter some base packages

---
 mkmodular | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'mkmodular')

diff --git a/mkmodular b/mkmodular
index 0a4ad657..81c1fcc0 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);
-- 
cgit