debian/0000755000000000000000000000000012231164767007177 5ustar debian/watch0000644000000000000000000000017212145663300010217 0ustar version=3 https://metacpan.org/release/rpm-build-perl/ .*/rpm-build-perl-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000035412145663300010250 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install rm -R $(TMP)/usr/bin rm -R $(TMP)/usr/share/man/man1 rm $(TMP)/usr/lib/perl5/fake.pm debian/copyright0000644000000000000000000000205712145663300011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rpm-build-perl Source: https://metacpan.org/release/rpm-build-perl/ Upstream-Contact: Alexey Tourbin Files: * Copyright: 2003-2012, Alexey Tourbin 1999, Ken Estes License: GPL-2+ Files: debian/* Copyright: 2008, Damyan Ivanov 2009-2011, Jonathan Yu 2009, Jonathan Yu 2010, Ansgar Burchardt 2011, Florian Schlichting 2011-2013, gregor herrmann 2012, Xavier Guimard License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000012145663300010466 5ustar debian/source/format0000644000000000000000000000001412145663300011674 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012145663300010615 5ustar debian/patches/0001-Fix-non-deterministic-failures-on-newer-perls.patch0000644000000000000000000000243112145663300023056 0ustar Bug: https://rt.cpan.org/Public/Bug/Display.html?id=85412 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=85412 Bug-Debian: http://bugs.debian.org/708592 From 428c3feac1e9c39f966cc66c36cc3881d202177c Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sat, 18 May 2013 09:41:47 +0300 Subject: [PATCH] Fix non-deterministic failures on newer perls The hash randomization changes in the Perl 5.17 series made perl.req to occasionally fail to report the dependencies. Improved diagnostics report Use of each() on hash after insertion without resetting hash iterator results in undefined behavior, Perl interpreter: 0x9e7010 at /home/niko/tmp/libb-perlreq-perl-0.82/blib/lib/B/Walker.pm line 122. so use keys() instead of each(), as suggested by perldiag.pod. --- lib/B/Walker.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/B/Walker.pm b/lib/B/Walker.pm index b71f204..f626043 100644 --- a/lib/B/Walker.pm +++ b/lib/B/Walker.pm @@ -119,7 +119,7 @@ sub walk_gv ($) { sub walk_stash ($$); sub walk_stash ($$) { # similar to B::walksymtable my ($symref, $prefix) = @_; - while (my ($sym) = each %$symref) { + for my $sym (keys %$symref) { no strict 'refs'; my $fullname = "*main::". $prefix . $sym; if ($sym =~ /::\z/) { -- 1.7.10.4 debian/patches/spelling.patch0000644000000000000000000000101712145663300013452 0ustar From: Ansgar Burchardt Date: Sat, 24 Apr 2010 19:41:54 +0900 Origin: vendor Forwarded: https://rt.cpan.org/Ticket/Display.html?id=56888 Subject: Fix spelling error --- a/perl.req +++ b/perl.req @@ -353,7 +353,7 @@ =item B<-m>, B<--method>=I Use particular I for dependency tracking. Alternatively, -RPM_PERL_REQ_METHOD environement variable can be used to set the method. +RPM_PERL_REQ_METHOD environment variable can be used to set the method. The following methods are available: debian/patches/series0000644000000000000000000000011012145663300012022 0ustar spelling.patch 0001-Fix-non-deterministic-failures-on-newer-perls.patch debian/compat0000644000000000000000000000000212145663300010364 0ustar 9 debian/control0000644000000000000000000000244712145663300010600 0ustar Source: libb-perlreq-perl Maintainer: Debian Perl Group Uploaders: Damyan Ivanov , Jonathan Yu , Ansgar Burchardt , gregor herrmann , Florian Schlichting , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), libtry-tiny-perl, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libb-perlreq-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libb-perlreq-perl.git Homepage: https://metacpan.org/release/rpm-build-perl/ Package: libb-perlreq-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl module to determine Perl module dependencies B::PerlReq is a backend module for the Perl compiler that determines the dependencies of Perl source code, based on the internal structure that Perl creates itself after parsing a program source file. The output of this module is suitable for automatic dependency detection, tracking and organization, particularly for building and maintaining binary packages. debian/changelog0000644000000000000000000001002312231164767011045 0ustar libb-perlreq-perl (0.82-2build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 09:46:47 +0100 libb-perlreq-perl (0.82-2) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * Add patch from Niko Tyni to handle hash randomization changes in Perl since 5.17. (Closes: #708592) * Update years of packaging copyright. -- gregor herrmann Sat, 18 May 2013 13:32:10 +0200 libb-perlreq-perl (0.82-1) unstable; urgency=low [ Xavier Guimard ] * Imported Upstream version 0.82 * Bump Standards-Version to 3.9.4 * Update debian/copyright (years and format) * Use debhelper >= 9.20120312 * Change Architecture from "all" to "any" [ gregor herrmann ] * Refresh patch (offset). -- Xavier Guimard Sat, 01 Dec 2012 22:02:49 +0100 libb-perlreq-perl (0.80-1) unstable; urgency=low * New upstream release. * Add libtry-tiny-perl to Build-Depends-Indep. -- gregor herrmann Wed, 07 Dec 2011 18:32:46 +0100 libb-perlreq-perl (0.78-1) unstable; urgency=low [ Florian Schlichting ] * Imported Upstream version 0.77, 0.78 * Add myself to Uploaders. * Remove all perl.* scripts (questionable utility on non-RPM-based distributions) [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * New upstream release. * Drop 0001-Adapt-to-5.13.x-dependency-changes.patch, the issue is solved now. * Refresh spelling.patch (offset). -- Florian Schlichting Mon, 14 Nov 2011 21:33:00 +0000 libb-perlreq-perl (0.74-2) unstable; urgency=low * Add patch by Niko Tyni to work with perl 5.14 (closes: #629275). * Add /me to Uploaders. * Set Standards-Version to 3.9.2 (no changes). -- gregor herrmann Sun, 10 Jul 2011 21:22:37 +0200 libb-perlreq-perl (0.74-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Standards-Version 3.9.1 (no changes) * Bump to debhelper 8 * Refresh copyright information [ Ansgar Burchardt ] * Update my email address. -- Jonathan Yu Sun, 27 Feb 2011 21:52:21 -0500 libb-perlreq-perl (0.72-1) unstable; urgency=low * New upstream release. + Builds with perl 5.12.0. (Closes: #579010) * Use source format 3.0 (quilt). * debian/copyright: Formatting changes for current DEP-5 proposal. * debian/copyright: Update years of copyright. * Fix spelling error in the documentation. + new patch: spelling.patch * Bump Standards-Version to 3.8.4. * Add myself to Uploaders. -- Ansgar Burchardt Sat, 24 Apr 2010 19:48:39 +0900 libb-perlreq-perl (0.71-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Standards-Version 3.8.3 (drop perl version dependency) * Use new short debhelper rules format (dh 7.0.50 for overrides) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ryan Niebur ] * Update jawnsy's email address -- Jonathan Yu Sun, 27 Sep 2009 08:10:24 -0400 libb-perlreq-perl (0.70-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release -> Adds a few experimental modules (B::Walker, B::Clobbers, PerlReq::Utils) -> Added some macros for compilation -> Now handles 'leavetry' operations from B::Walker * Updated copyright statement * Added /me to uploaders * Standards-Version changed to 3.8.1 [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). -- Jonathan Yu Tue, 19 May 2009 15:09:38 -0400 libb-perlreq-perl (0.6.8-1) unstable; urgency=low * Initial Release. Closes: #494434 -- ITP -- Damyan Ivanov Sat, 9 Aug 2008 15:32:34 +0300