From eae2da76ed075c0e745176e12fedbad8630f6046 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sun, 11 Mar 2007 06:36:28 +0000 Subject: [PATCH] - don't mess with debuginfo, just disable it. - appease Module::Signature/gpg --- perl-Test-Distribution.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/perl-Test-Distribution.spec b/perl-Test-Distribution.spec index 5b6c924..289fa79 100644 --- a/perl-Test-Distribution.spec +++ b/perl-Test-Distribution.spec @@ -1,6 +1,9 @@ +# noarch, but to avoid debug*.list interfering with signature/manifest tests: +%define debug_package %{nil} + Name: perl-Test-Distribution Version: 1.26 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Perform tests on all modules of a distribution License: GPL or Artistic Group: Development/Libraries @@ -9,8 +12,8 @@ Source0: http://www.cpan.org/authors/id/S/SR/SRSHAH/Test-Distribution-%{v BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(File::Find::Rule) >= 0.03 BuildRequires: perl(Module::Build) +BuildRequires: perl(File::Find::Rule) >= 0.03 BuildRequires: perl(Module::CoreList) >= 1.93 BuildRequires: perl(Module::Signature) BuildRequires: perl(Pod::Coverage) >= 0.17 @@ -47,11 +50,13 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* -%check -# these will cause problems otherwise... -rm -f debug*list -./Build test +%check +# appease Module::Signature +tmpdir=$(mktemp -d %{_tmppath}/%{name}-%{version}-%{release}.XXXXXX) +mkdir -m 700 $tmpdir/_gnupg +export GNUPGHOME=$tmpdir/_gnupg +./Build test && rm -rf $tmpdir %clean rm -rf %{buildroot} @@ -63,6 +68,10 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Sat Mar 10 2007 Chris Weyl 1.26-4 +- don't mess with debuginfo, just disable it. +- appease Module::Signature/gpg + * Thu Mar 01 2007 Chris Weyl 1.26-3 - cause rm to not fail on non-existance of debug*list in check.