[perl-CPAN-Inject] Run tests in a new home and noninteractively
Petr Pisar
ppisar at fedoraproject.org
Thu Apr 24 10:43:34 UTC 2014
commit 8169d89aaa094638f522bd300f8c66cd8c18e914
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Apr 23 15:10:58 2014 +0200
Run tests in a new home and noninteractively
perl-CPAN-Inject.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-CPAN-Inject.spec b/perl-CPAN-Inject.spec
index 2ed336c..46c1039 100644
--- a/perl-CPAN-Inject.spec
+++ b/perl-CPAN-Inject.spec
@@ -1,6 +1,6 @@
Name: perl-CPAN-Inject
Version: 1.14
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Base class for injecting distributions into CPAN sources
License: GPL+ or Artistic
Group: Development/Libraries
@@ -55,7 +55,9 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
-make test
+export HOME=$PWD/home
+mkdir "$HOME"
+make test </dev/null
%files
%doc Changes
@@ -65,6 +67,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Wed Apr 23 2014 Petr Pisar <ppisar at redhat.com> - 1.14-5
+- Run tests in a new home and noninteractively
+
* Mon Aug 05 2013 Petr Pisar <ppisar at redhat.com> - 1.14-4
- Perl 5.18 rebuild
More information about the perl-devel
mailing list