summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120524
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120524')
-rw-r--r--zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment-0001.obj20
-rw-r--r--zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment.obj20
-rw-r--r--zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment-0001.asc7
-rw-r--r--zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment.asc7
4 files changed, 54 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment-0001.obj b/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment-0001.obj
new file mode 100644
index 000000000..6a031fafb
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment-0001.obj
@@ -0,0 +1,20 @@
+#!/usr/bin/perl -w
+
+# This script takes a root SRPMS directory as argument, and print the
+# list of package names on stdout
+
+use strict;
+use URPM;
+
+my $srpmsdir = $ARGV[0] or exit 1;
+
+my $urpm = URPM->new;
+
+foreach (glob("$srpmsdir/*/*/media_info/synthesis.hdlist.cz")) {
+ $urpm->parse_synthesis($_);
+}
+
+my %res;
+$urpm->traverse(sub { $res{$_[0]->name} = 1 });
+
+print join("\n", sort(keys %res), '') \ No newline at end of file
diff --git a/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment.obj b/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment.obj
new file mode 100644
index 000000000..6a031fafb
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120524/bf498b23/attachment.obj
@@ -0,0 +1,20 @@
+#!/usr/bin/perl -w
+
+# This script takes a root SRPMS directory as argument, and print the
+# list of package names on stdout
+
+use strict;
+use URPM;
+
+my $srpmsdir = $ARGV[0] or exit 1;
+
+my $urpm = URPM->new;
+
+foreach (glob("$srpmsdir/*/*/media_info/synthesis.hdlist.cz")) {
+ $urpm->parse_synthesis($_);
+}
+
+my %res;
+$urpm->traverse(sub { $res{$_[0]->name} = 1 });
+
+print join("\n", sort(keys %res), '') \ No newline at end of file
diff --git a/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment-0001.asc b/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment-0001.asc
new file mode 100644
index 000000000..743abe910
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment-0001.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iD8DBQBPvkinT1rWTfpocyQRAu1UAKDWsu/IUJT66x6euQrAwBp1icyVowCg3ydX
+l6cAmKkyp4t5TDxcRW25GDU=
+=Abe4
+-----END PGP SIGNATURE-----
diff --git a/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment.asc b/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment.asc
new file mode 100644
index 000000000..743abe910
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120524/e85fe958/attachment.asc
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iD8DBQBPvkinT1rWTfpocyQRAu1UAKDWsu/IUJT66x6euQrAwBp1icyVowCg3ydX
+l6cAmKkyp4t5TDxcRW25GDU=
+=Abe4
+-----END PGP SIGNATURE-----