rpms/perl-Test-Distribution/devel perl-Test-Distribution.spec, 1.3, 1.4
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Sun Mar 11 06:37:03 UTC 2007
Author: cweyl
Update of /cvs/extras/rpms/perl-Test-Distribution/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26485/devel
Modified Files:
perl-Test-Distribution.spec
Log Message:
* Sat Mar 10 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.26-4
- don't mess with debuginfo, just disable it.
- appease Module::Signature/gpg
Index: perl-Test-Distribution.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-Distribution/devel/perl-Test-Distribution.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Test-Distribution.spec 1 Mar 2007 19:49:05 -0000 1.3
+++ perl-Test-Distribution.spec 11 Mar 2007 06:36:31 -0000 1.4
@@ -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 @@
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 @@
%{_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 @@
%{_mandir}/man3/*
%changelog
+* Sat Mar 10 2007 Chris Weyl <cweyl at 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 at alumni.drew.edu> 1.26-3
- cause rm to not fail on non-existance of debug*list in check.
More information about the fedora-extras-commits
mailing list