From 5a0bfb634d2ca2f895f42bfd154c1ecc69a15440 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Mon, 20 Jul 2015 17:34:34 +0200
Subject: 0.11 bump; Modernize spec
diff --git a/.gitignore b/.gitignore
index b50a287..61e1f8f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/Test-Command-0.08.tar.gz
/perl-Test-Command.spec
+/Test-Command-0.11.tar.gz
diff --git a/perl-Test-Command.spec b/perl-Test-Command.spec
index d0721cb..a2c44f6 100644
--- a/perl-Test-Command.spec
+++ b/perl-Test-Command.spec
@@ -1,15 +1,24 @@
Name: perl-Test-Command
-Version: 0.08
-Release: 12%{?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)
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Config)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(FindBin)
BuildRequires: perl(Module::Build)
-BuildRequires: perl(Test::Simple) >= 0.62
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Builder::Module)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
@@ -26,26 +35,22 @@ determine if it is behaving as expected.
./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/*
%check
./Build test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Mon Jul 20 2015 Jitka Plesnikova <[email protected]> - 0.11-1
+- 0.11 bump
+- Modernize spec
+
* Thu Jun 18 2015 Fedora Release Engineering <[email protected]>
- 0.08-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_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
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Test-Command.git/commit/?h=master&id=5a0bfb634d2ca2f895f42bfd154c1ecc69a15440
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel