summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-12 16:26:10 +0100
committerRemi Collet <remi@remirepo.net>2018-02-12 16:26:10 +0100
commit562f5b47d0ec90af9cb6ffa70b1adf5540fea461 (patch)
tree09dcfcf8cee6cbaaec3068e42e239c7e204b50f5
parentbdf446bca89cd818aa14f845d912fd619c78295f (diff)
clean debug stuff
-rw-r--r--examples/librpm.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/librpm.php b/examples/librpm.php
index f1ea7e9..7d36f2d 100644
--- a/examples/librpm.php
+++ b/examples/librpm.php
@@ -22,7 +22,7 @@ abstract class Common {
if (isset($signs[$flags[$i] & 15])) {
$ret[] = $names[$i] . $signs[$flags[$i] & 15] . $vers[$i];
} else {
- $ret[] = $names[$i] . '('. ($flags[$i] & 15) .')' . $vers[$i];
+ $ret[] = $names[$i] . $vers[$i];
}
}
}
@@ -130,6 +130,7 @@ class Package extends Common {
/*
$a = new File(dirname(__DIR__).'/tests/bidon.rpm');
-$a = new Package('php-cli');
-print_r($a->Files);
+$a = new Package('phpunit7');
+print_r($a->Requires);
*/
+