From f7831f66155a80eff64beff548e1e0c8e0343fbf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 6 Dec 2024 09:31:10 +0100 Subject: + php-staabm-side-effects-detector --- checkpkgist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checkpkgist.php') diff --git a/checkpkgist.php b/checkpkgist.php index d566ba3..473bf86 100755 --- a/checkpkgist.php +++ b/checkpkgist.php @@ -156,7 +156,7 @@ function run($name, $rpm) { } $cpt = 0; foreach($rpminfo['Providename'] as $i => $n) { - if (preg_match('/php-composer\((.*)\)/', $n, $res)) { + if (preg_match('/^php-composer\((.*)\)/', $n, $res)) { $name = $res[1]; } else { unset($rpminfo['Providename'][$i]); -- cgit