- don't mess with debuginfo, just disable it.

- appease Module::Signature/gpg
epel9
Chris Weyl 18 years ago
parent 8c144ea5c4
commit eae2da76ed

@ -1,6 +1,9 @@
# noarch, but to avoid debug*.list interfering with signature/manifest tests:
%define debug_package %{nil}
Name: perl-Test-Distribution Name: perl-Test-Distribution
Version: 1.26 Version: 1.26
Release: 3%{?dist} Release: 4%{?dist}
Summary: Perform tests on all modules of a distribution Summary: Perform tests on all modules of a distribution
License: GPL or Artistic License: GPL or Artistic
Group: Development/Libraries 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(File::Find::Rule) >= 0.03
BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Build)
BuildRequires: perl(File::Find::Rule) >= 0.03
BuildRequires: perl(Module::CoreList) >= 1.93 BuildRequires: perl(Module::CoreList) >= 1.93
BuildRequires: perl(Module::Signature) BuildRequires: perl(Module::Signature)
BuildRequires: perl(Pod::Coverage) >= 0.17 BuildRequires: perl(Pod::Coverage) >= 0.17
@ -47,11 +50,13 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/* %{_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 %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -63,6 +68,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Mar 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.26-4
- don't mess with debuginfo, just disable it.
- appease Module::Signature/gpg
* Thu Mar 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.26-3 * Thu Mar 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.26-3
- cause rm to not fail on non-existance of debug*list in check. - cause rm to not fail on non-existance of debug*list in check.

Loading…
Cancel
Save