summaryrefslogtreecommitdiffstats
path: root/checkpkgist.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-12-06 09:31:10 +0100
committerRemi Collet <remi@php.net>2024-12-06 09:31:10 +0100
commitf7831f66155a80eff64beff548e1e0c8e0343fbf (patch)
treeb982508c251eba547cc60773b1d90d5c3135221a /checkpkgist.php
parent9d005cc4bd17b1fb59403e641d9a6254a58eb797 (diff)
+ php-staabm-side-effects-detectorHEADmaster
Diffstat (limited to 'checkpkgist.php')
-rwxr-xr-xcheckpkgist.php2
1 files changed, 1 insertions, 1 deletions
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]);