--- libxml-rss-feed-perl-2.212.orig/Makefile.PL +++ libxml-rss-feed-perl-2.212/Makefile.PL @@ -9,7 +9,7 @@ ABSTRACT_FROM => 'lib/XML/RSS/Feed.pm', PL_FILES => {}, PREREQ_PM => { - 'Test::More' => 0, + 'Test::More' => 1, 'XML::RSS' => 0, 'Clone' => 0, 'Storable' => 0, --- libxml-rss-feed-perl-2.212.orig/debian/changelog +++ libxml-rss-feed-perl-2.212/debian/changelog @@ -0,0 +1,22 @@ +libxml-rss-feed-perl (2.212-1.2) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Tue, 05 Jan 2021 19:22:51 +0100 + +libxml-rss-feed-perl (2.212-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR in debian/rules. + (Closes: #797187) + + -- gregor herrmann Sun, 06 Sep 2015 18:41:26 +0200 + +libxml-rss-feed-perl (2.212-1) unstable; urgency=low + + * Initial release + + -- Erik Vetters Tue, 23 Jan 2007 17:08:28 +0100 + --- libxml-rss-feed-perl-2.212.orig/debian/compat +++ libxml-rss-feed-perl-2.212/debian/compat @@ -0,0 +1 @@ +5 --- libxml-rss-feed-perl-2.212.orig/debian/control +++ libxml-rss-feed-perl-2.212/debian/control @@ -0,0 +1,21 @@ +Source: libxml-rss-feed-perl +Section: perl +Priority: optional +Maintainer: Erik Vetters +Build-Depends: debhelper (>= 5), perl, libxml-rss-perl +Standards-Version: 3.7.2 + +Package: libxml-rss-feed-perl +Architecture: all +Depends: ${perl:Depends}, libxml-rss-perl, libclone-perl,libhtml-parser-perl,liburi-perl +Description: Perl module for Persistent XML RSS (RDF Site Summary) Encapsulation + This module is a framework for persistent XML RSS (RDF Site Summary) + Encapsulation. This module provides a framework for watching multiple + RSS sources. The magic is in the late_breaking_news method that returns + only headlines it hasn't seen. + . + If you want a non-blocking way to watch multiple RSS sources with one + process use POE::Component::RSSAggregator (libpoe-component-rssaggregator) + . + Homepage: http://search.cpan.org/~jbisbee/XML-RSS-Feed/ + --- libxml-rss-feed-perl-2.212.orig/debian/copyright +++ libxml-rss-feed-perl-2.212/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Erik Vetters +on Tue, 23 Jan, 2007, 16:50:11 +0100. + +It was downloaded from the Comprehensive Perl Archive Network (CPAN). +Visit to find a CPAN site near you. + +Upstream Author: Jeff Bisbee + +Copyright: + +Copyright (c) 2006 Jeff Bisbee. All rights reserved. + This program is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" + + See: + + /usr/share/common-licenses/Artistic + /usr/share/common-licenses/GPL + + For more information regarding these licensing options --- libxml-rss-feed-perl-2.212.orig/debian/libxml-rss-feed-perl.docs +++ libxml-rss-feed-perl-2.212/debian/libxml-rss-feed-perl.docs @@ -0,0 +1 @@ +README --- libxml-rss-feed-perl-2.212.orig/debian/libxml-rss-feed-perl.examples +++ libxml-rss-feed-perl-2.212/debian/libxml-rss-feed-perl.examples @@ -0,0 +1 @@ +examples/* --- libxml-rss-feed-perl-2.212.orig/debian/rules +++ libxml-rss-feed-perl-2.212/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +# export DH_COMPAT=4 + +PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"` + + +build: + dh_testdir + # Add here commands to compile the package. + perl Makefile.PL verbose INSTALLDIRS=vendor + -find $(CURDIR)/examples -name "*.rdf" -exec chmod -x {} \; + -chmod -x README + +clean: + dh_testdir + dh_testroot + + -$(MAKE) clean + rm -f Makefile.old + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) OPTIMIZE="-O2 -g -Wall" test install + -find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty + +binary-arch:; +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installman + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libxml-rss-feed-perl-2.212.orig/debian/watch +++ libxml-rss-feed-perl-2.212/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.cpan.org/modules/by-module/XML/XML-RSS-Feed-([0-9].*)\.tar.gz --- libxml-rss-feed-perl-2.212.orig/t/008_store_retrieve.t +++ libxml-rss-feed-perl-2.212/t/008_store_retrieve.t @@ -3,7 +3,8 @@ use warnings; use Test::More tests => 31; -BEGIN { use_ok('XML::RSS::Feed') } +BEGIN { use_ok('XML::RSS::Feed'); } + SKIP: { skip "/tmp directory doesn't exist", 32 unless -d "/tmp"; @@ -55,6 +56,9 @@ skip "LWP::Simple not installed", 17 if $@; unlink "/tmp/test_008.sto"; + + skip "Disabled rest of the tests for Debian Package because http://www.jbisbee.com/rsstest is not reachable anymore", 17; + my $feed = XML::RSS::Feed->new( name => 'test_008', url => "http://www.jbisbee.com/rsstest", @@ -64,7 +68,7 @@ isa_ok( $feed, 'XML::RSS::Feed' ); my $rss_xml = LWP::Simple::get( $feed->url ) || undef; - + skip "Could not fetch " . $feed->url . " ... timed out", 16 unless $rss_xml; ok( $feed->parse($rss_xml), "Failed to parse XML from " . $feed->url ); @@ -103,12 +107,12 @@ ok( eq_array( \@headlines_old, \@headlines_new ), "Comparing headlines before and after" ); - for my $i ( 0 .. $#seen_old ) { my $num = $i + 1; cmp_ok( $seen_old[$i], '==', $seen_new[$i], "Compare headline $num timestamp_hires" ); } + } sub xml {