From d6e55485a48fd78bd2301be798a89fc25ad48ea0 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 19 Sep 2023 11:23:42 +0300 Subject: [PATCH] import perl-Test-Number-Delta-1.06-22.el9 --- .gitignore | 1 + .perl-Test-Number-Delta.metadata | 1 + SPECS/perl-Test-Number-Delta.spec | 192 ++++++++++++++++++++++++++++++ 3 files changed, 194 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-Test-Number-Delta.metadata create mode 100644 SPECS/perl-Test-Number-Delta.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3950695 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Test-Number-Delta-1.06.tar.gz diff --git a/.perl-Test-Number-Delta.metadata b/.perl-Test-Number-Delta.metadata new file mode 100644 index 0000000..eea36b5 --- /dev/null +++ b/.perl-Test-Number-Delta.metadata @@ -0,0 +1 @@ +4d81cf7fea8c9803c926579a1593915fcd261c26 SOURCES/Test-Number-Delta-1.06.tar.gz diff --git a/SPECS/perl-Test-Number-Delta.spec b/SPECS/perl-Test-Number-Delta.spec new file mode 100644 index 0000000..67818f7 --- /dev/null +++ b/SPECS/perl-Test-Number-Delta.spec @@ -0,0 +1,192 @@ +Name: perl-Test-Number-Delta +Version: 1.06 +Release: 22%{?dist} +Summary: Compare the difference between numbers against a given tolerance +License: GPL+ or Artistic +URL: https://metacpan.org/release/Test-Number-Delta +Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Number-Delta-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +# Module +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::Builder::Tester) >= 1.02 +BuildRequires: perl(Test::More) +# Optional Tests +BuildRequires: perl(CPAN::Meta) >= 2.120900 +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +At some point or another, most programmers find they need to compare +floating-point numbers for equality. The typical idiom is to test if +the absolute value of the difference of the numbers is within a +desired tolerance, usually called epsilon. This module provides such +a function for use with Test::Harness. + + +%prep +%setup -q -n Test-Number-Delta-%{version} + + +%build +perl Makefile.PL INSTALLDIRS=vendor +make + + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + + +%check +make test + + +%files +%doc Changes +%license LICENSE +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::Number::Delta.3* + + +%changelog +* Tue Sep 19 2023 Arkady L. Shane - 1.06-22 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.06-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.06-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 1.06-20 +- Perl 5.34 rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.06-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.06-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1.06-17 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.06-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Oct 11 2019 Paul Howarth - 1.06-15 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Use DESTDIR rather than PERL_INSTALL_ROOT + - Simplify find command using -delete + - Don't need to remove empty directories from the buildroot + - Fix permissions verbosely + - Don't display developer dependencies as we're not running extra tests + +* Fri Jul 26 2019 Fedora Release Engineering - 1.06-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 1.06-13 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.06-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.06-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 1.06-10 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1.06-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.06-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.06-7 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.06-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.06-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.06-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.06-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 1.06-2 +- Perl 5.22 rebuild + +* Fri Mar 27 2015 Tom Callaway - 1.06-1 +- update to 1.06 + +* Wed Aug 27 2014 Jitka Plesnikova - 1.03-17 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.03-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.03-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 1.03-14 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.03-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.03-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 13 2012 Petr Pisar - 1.03-11 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.03-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jun 20 2011 Marcela Mašláňová - 1.03-9 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.03-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 22 2010 Marcela Maslanova - 1.03-7 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri May 07 2010 Marcela Maslanova - 1.03-6 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 1.03-5 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 1.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.03-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Feb 5 2008 Tom "spot" Callaway - 1.03-2 +- rebuild for new perl + +* Sun Jun 24 2007 Jose Pedro Oliveira - 1.03-1 +- First build.