update to 1.06

epel9
Tom Callaway 10 years ago
parent e130dc693d
commit 8a788827d6

1
.gitignore vendored

@ -1 +1,2 @@
Test-Number-Delta-1.03.tar.gz
/Test-Number-Delta-1.06.tar.gz

@ -1,16 +1,13 @@
Name: perl-Test-Number-Delta
Version: 1.03
Release: 17%{?dist}
Version: 1.06
Release: 1%{?dist}
Summary: Compare the difference between numbers against a given tolerance
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-Number-Delta/
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Builder) >= 0.32
BuildRequires: perl(Test::Builder::Tester) >= 1.02
BuildRequires: perl(Test::Pod)
@ -30,32 +27,32 @@ a function for use with Test::Harness.
%build
%{__perl} Build.PL installdirs=vendor
./Build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
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
AUTHOR_TESTING=1 ./Build test
%clean
rm -rf $RPM_BUILD_ROOT
AUTHOR_TESTING=1 make test
%files
%defattr(-,root,root,-)
%doc Changes LICENSE Todo
%doc Changes
%license LICENSE
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3pm*
%changelog
* Fri Mar 27 2015 Tom Callaway <spot@fedoraproject.org> - 1.06-1
- update to 1.06
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-17
- Perl 5.20 rebuild

@ -1 +1 @@
17d3eec2d5bbe012c4a797af8e75ae39 Test-Number-Delta-1.03.tar.gz
f0d420e7f679a0bc593713d21c25f51e Test-Number-Delta-1.06.tar.gz

Loading…
Cancel
Save