[perl-Carp-Assert-More] update to 1.14, fix deps, modernize
Tom Callaway
spot at fedoraproject.org
Wed Feb 27 17:57:27 UTC 2013
commit 4b2b6d43a1f922b5c1170e0df8a5c091eb0590f5
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Feb 27 13:00:23 2013 -0500
update to 1.14, fix deps, modernize
.gitignore | 1 +
perl-Carp-Assert-More.spec | 26 ++++++++------------------
sources | 2 +-
3 files changed, 10 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ba335d..9875e2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Carp-Assert-More-1.12.tar.gz
+/Carp-Assert-More-1.14.tar.gz
diff --git a/perl-Carp-Assert-More.spec b/perl-Carp-Assert-More.spec
index 625dc29..64516ae 100644
--- a/perl-Carp-Assert-More.spec
+++ b/perl-Carp-Assert-More.spec
@@ -1,57 +1,47 @@
Name: perl-Carp-Assert-More
-Version: 1.12
-Release: 15%{?dist}
+Version: 1.14
+Release: 1%{?dist}
Summary: Convenience wrappers around Carp::Assert
-
Group: Development/Libraries
-License: GPL+ or Artistic
+License: Artistic 2.0
URL: http://search.cpan.org/dist/Carp-Assert-More/
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Carp-Assert-More-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: perl(Carp::Assert), perl(Test::Exception)
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(ExtUtils::MakeMaker), perl(Scalar::Util)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Carp::Assert::More is a set of wrappers around the Carp::Assert
functions to make the habit of writing assertions even easier.
-
%prep
%setup -q -n Carp-Assert-More-%{version}
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
-
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-
%check
make test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/Carp/Assert/
%{_mandir}/man3/*.3pm*
-
%changelog
+* Wed Feb 27 2013 Tom Callaway <spot at fedoraproject.org> - 1.14-1
+- update to 1.14
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.12-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index 532d89b..e3a27f4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-dbd6a0fcbff5f00d2e39b77322036d3f Carp-Assert-More-1.12.tar.gz
+78d85249929273259e0a519925b80cd9 Carp-Assert-More-1.14.tar.gz
More information about the scm-commits
mailing list