From 98e24ec23f3cb0d99d1559fef3b8f902c8d6dd83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 20 Jan 2006 18:57:38 +0000 Subject: [PATCH] - 0.52. - Run non-live tests during build and make live ones optional, enabled when building with "--with livetests". --- .cvsignore | 2 +- perl-Module-Signature.spec | 18 +++++++++++++----- sources | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0a507db..a6a9540 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -Module-Signature-0.51.tar.gz +Module-Signature-0.52.tar.gz diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec index 02547c4..53c9b01 100644 --- a/perl-Module-Signature.spec +++ b/perl-Module-Signature.spec @@ -1,8 +1,12 @@ # Must use expand to ensure mktemp is run only once %{expand: %%define mytempdir %(mktemp -d %{_tmppath}/tmp.XXXXXX)} +# Yep, this is a noarch package, but this is to avoid debug*.list which +# interfere with some of the signature tests. +%define debug_package %{nil} + Name: perl-Module-Signature -Version: 0.51 +Version: 0.52 Release: 1%{?dist} Summary: CPAN signature management utilities and modules @@ -31,6 +35,7 @@ checking and creating SIGNATURE files for Perl CPAN distributions. %build mkdir -m 700 %{mytempdir}/_gnupg ; export GNUPGHOME=%{mytempdir}/_gnupg +PERL_AUTOINSTALL=--skipdeps \ %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null make %{?_smp_mflags} @@ -45,9 +50,7 @@ chmod -R u+w $RPM_BUILD_ROOT/* %check export GNUPGHOME=%{mytempdir}/_gnupg -for f in debug*.list ; do test -e $f && mv $f %{mytempdir} ; done -# make test # would require network access -for f in %{mytempdir}/debug*.list ; do test -e $f && mv $f . ; done +make test %{!?_with_livetests:TEST_FILES=t/1-basic.t} %clean @@ -56,13 +59,18 @@ rm -rf $RPM_BUILD_ROOT %{mytempdir} %files %defattr(-,root,root,-) -%doc AUTHORS Changes README TODO *.pub +%doc AUTHORS Changes README *.pub %{_bindir}/cpansign %{perl_vendorlib}/Module/ %{_mandir}/man[13]/*.[13]* %changelog +* Fri Jan 20 2006 Ville Skyttä - 0.52-1 +- 0.52. +- Run non-live tests during build and make live ones optional, enabled + when building with "--with livetests". + * Mon Jan 2 2006 Ville Skyttä - 0.51-1 - 0.51. diff --git a/sources b/sources index 548f6de..5b3dac6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c7d5381ac01308564ffee8c1b040f648 Module-Signature-0.51.tar.gz +4f5ce59239561f1f0c29efb1b485744b Module-Signature-0.52.tar.gz