Name: perl-Date-Handler Version: 1.2 Release: 26%{?dist} Summary: Easy but complete date object License: GPL+ or Artistic URL: https://metacpan.org/release/Date-Handler Source0: https://cpan.metacpan.org/modules/by-module/Date/Date-Handler-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: coreutils BuildRequires: findutils # For a iconv tool BuildRequires: glibc-common BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Getopt::Long) BuildRequires: perl(strict) # Run-time: BuildRequires: glibc-langpack-es BuildRequires: glibc-langpack-fr BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(overload) BuildRequires: perl(POSIX) BuildRequires: perl(Test) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Date::Handler is a container for dates that holds all the methods to transform itself from a time zone to a time zone and to format itself. %package Test Summary: Test module for Date::Handler Requires: %{name} = %{version}-%{release} Requires: glibc-langpack-es Requires: glibc-langpack-fr Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Conflicts: perl-Date-Handler < 1.2-18 %description Test This Perl module provides a series of test cases to be run during the "make test" of the Date::Handler module. %prep %setup -q -n Date-Handler-%{version} find -type f -exec chmod 0644 {} + iconv --from=ISO-8859-1 --to=UTF-8 README > README.new touch -r README README.new mv README.new README %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --extended_tests %{make_build} %install %{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/* %exclude %{perl_vendorlib}/Date/Handler/Test.* %{_mandir}/man3/* %exclude %{_mandir}/man3/Date::Handler::Test.3pm* %files Test %{perl_vendorlib}/Date/Handler/Test.* %{_mandir}/man3/Date::Handler::Test.3pm* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.2-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.2-25 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.2-22 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.2-19 - Perl 5.32 rebuild * Mon Mar 02 2020 Petr Pisar - 1.2-18 - Modernize a spec file - Subpackage Date::Handler::Test into perl-Date-Handler-Test package * Wed Jan 29 2020 Fedora Release Engineering - 1.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.2-15 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.2-12 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.2-9 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.2-7 - Perl 5.24 rebuild * Mon Mar 14 2016 Petr Pisar - 1.2-6 - Build-require French and Spanish locales for running tests (bug #1313248) * Thu Feb 04 2016 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.2-3 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.2-2 - Perl 5.20 rebuild * Wed Jul 23 2014 David Dick - 1.2-1 - Initial release