diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-07-30 06:58:09 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-07-30 06:58:09 +0200 |
commit | 4f13b3d430f8da5aeafb1657597920b72f9cc272 (patch) | |
tree | c705a1e63bec993784a386ebe33d981464cce19c /checkpkgist | |
parent | 44d6c68d6f84c7fa5595ea4fc449aa8898ca899c (diff) |
checkpkgist: refresh and minor fix for 'ext-foo' case
Diffstat (limited to 'checkpkgist')
-rw-r--r-- | checkpkgist/checkpkgist.json | 1 | ||||
-rwxr-xr-x | checkpkgist/checkpkgist.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/checkpkgist/checkpkgist.json b/checkpkgist/checkpkgist.json index c116260..4f8e219 100644 --- a/checkpkgist/checkpkgist.json +++ b/checkpkgist/checkpkgist.json @@ -10,7 +10,6 @@ "php-tecnickcom-tc-lib-pdf-page": "tecnickcom\/tc-lib-pdf-page", "php-tecnickcom-tc-lib-unicode": "tecnickcom\/tc-lib-unicode", "php-tecnickcom-tc-lib-unicode-data": "tecnickcom\/tc-lib-unicode-data", - "php-alcaeus-mongo-php-adapter": "alcaeus\/mongo-php-adapter", "php-tedivm-jshrink": "tedivm\/jshrink", "php-phine-path": "phine\/path", "php-phine-exception": "phine\/exception", diff --git a/checkpkgist/checkpkgist.php b/checkpkgist/checkpkgist.php index f350fcf..482cc4d 100755 --- a/checkpkgist/checkpkgist.php +++ b/checkpkgist/checkpkgist.php @@ -71,6 +71,10 @@ function run($name, $rpm) { if (in_array($name, ['znerol/php-stringprep', 'psr/http-message-implementation'])) { return; } + if (!strpos($name, '/')) { + // e.g. ext-foo + return; + } list($owner, $library) = explode('/', $name, 2); if (in_array($owner, ['horde', 'kolab'])) { return; |