[perl-Test-Command/epel7] Update to 0.11
Paul Howarth
pghmcfc at fedoraproject.org
Thu Aug 14 21:29:19 UTC 2014
commit 7fc7be27134c2baa3a4352568c4bb46f236ce53d
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Aug 14 22:28:27 2014 +0100
Update to 0.11
- New upstream release 0.11
- Added exit_value(), signal_value(), stdout_value(), stdout_file(),
stderr_value() and stderr_file() (these provide access to raw value for
arbitrary testing not covered by this module)
- Fix signal tests on Win32 platforms
- Fix determination of diagnostic test name in signal_is_undef()
- Specify all dependencies
- Make %files list more explicit
- Drop %defattr, redundant since rpm 4.4
- Don't use macros for commands
.gitignore | 3 +--
perl-Test-Command.spec | 46 +++++++++++++++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 35 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b50a287..a14ce55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/Test-Command-0.08.tar.gz
-/perl-Test-Command.spec
+/Test-Command-[0-9.]*.tar.gz
diff --git a/perl-Test-Command.spec b/perl-Test-Command.spec
index 6912565..5d34c4a 100644
--- a/perl-Test-Command.spec
+++ b/perl-Test-Command.spec
@@ -1,16 +1,28 @@
Name: perl-Test-Command
-Version: 0.08
-Release: 9%{?dist}
+Version: 0.11
+Release: 1%{?dist}
Summary: Test routines for external commands
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Command/
Source0: http://www.cpan.org/authors/id/D/DA/DANBOO/Test-Command-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(FindBin)
BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Builder::Module)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Simple) >= 0.62
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Test::Command intends to bridge the gap between the well tested functions
@@ -22,16 +34,13 @@ determine if it is behaving as expected.
%setup -q -n Test-Command-%{version}
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT
%check
./Build test
@@ -40,12 +49,23 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Test/
+%{_mandir}/man3/Test::Command.3*
%changelog
+* Thu Aug 14 2014 Paul Howarth <paul at city-fan.org> - 0.11-1
+- Update to 0.11
+ - Added exit_value(), signal_value(), stdout_value(), stdout_file(),
+ stderr_value() and stderr_file() (these provide access to raw value for
+ arbitrary testing not covered by this module)
+ - Fix signal tests on Win32 platforms
+ - Fix determination of diagnostic test name in signal_is_undef()
+- Specify all dependencies
+- Make %%files list more explicit
+- Drop %%defattr, redundant since rpm 4.4
+- Don't use macros for commands
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index a67a093..2eeca4e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dd33acd600c587585e4e40eef8d9adf1 Test-Command-0.08.tar.gz
+9ab83c4695961dbe92cd86efe08f0634 Test-Command-0.11.tar.gz
More information about the scm-commits
mailing list