Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/perl-Date-Manip.git#a243e6f8bb24d6fbefc7d4039ffdc2b5b0b98c14
This commit is contained in:
parent
1de62bfb67
commit
913b1f24b6
@ -1,37 +1,41 @@
|
||||
Name: perl-Date-Manip
|
||||
Version: 6.83
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Date manipulation routines
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Date-Manip
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
BuildRequires: perl(:VERSION) >= 5.10.0
|
||||
BuildRequires: perl(Carp)
|
||||
# XXX: BuildRequires: perl(Cwd)
|
||||
# XXX: BuildRequires: perl(Data::Dumper)
|
||||
# Cwd not used at tests
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(Exporter)
|
||||
# XXX: BuildRequires: perl(File::Find)
|
||||
# XXX: BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Find::Rule)
|
||||
# File::Find not used at tests
|
||||
# File::Spec not used at tests
|
||||
BuildRequires: perl(integer)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(utf8)
|
||||
# Win32::TieRegistry not used
|
||||
# Tests only
|
||||
# File::Basename not used
|
||||
# File::Find::Rule not used
|
||||
# lib not used
|
||||
BuildRequires: perl(Test::Inter) >= 1.09
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
BuildRequires: perl(Test::More)
|
||||
# Test::Pod 1.00 not used
|
||||
# Test::Pod::Coverage 1.00 not used
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||
Requires: perl(Cwd)
|
||||
Requires: perl(File::Find)
|
||||
@ -45,8 +49,8 @@ Obsoletes: perl-DateManip < 5.48-1
|
||||
|
||||
%description
|
||||
Date::Manip is a series of modules designed to make any common date/time
|
||||
operation easy to do. Operations such as comparing two times, determining a
|
||||
data a given amount of time from another, or parsing international times
|
||||
operation easy to do. Operations such as comparing two times, determining
|
||||
a data a given amount of time from another, or parsing international times
|
||||
are all easily done. It deals with time as it is used in the Gregorian
|
||||
calendar (the one currently in use) with full support for time changes due
|
||||
to daylight saving time.
|
||||
@ -55,14 +59,18 @@ to daylight saving time.
|
||||
%setup -q -n Date-Manip-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
unset DATE_MANIP DATE_MANIP_DEBUG DATE_MANIP_DEBUG_ABBREVS \
|
||||
DATE_MANIP_DEBUG_ZONES DATE_MANIP_TEST_DM5 OS MULTINET_TIMEZONE \
|
||||
RELEASE_TESTING 'SYS$TIMEZONE_DIFFERENTIAL' 'SYS$TIMEZONE_NAME' \
|
||||
'SYS$TIMEZONE_RULE' 'TCPIP$TZ' 'UCX$TZ'
|
||||
make test
|
||||
|
||||
%files
|
||||
@ -73,6 +81,9 @@ make test
|
||||
%{_bindir}/dm_*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 15 2021 Petr Pisar <ppisar@redhat.com> - 6.83-2
|
||||
- Specify all dependendencies
|
||||
|
||||
* Tue Dec 15 2020 Jan Pazdziora <jpazdziora@redhat.com> - 6.83-1
|
||||
- 1902872 - Rebase to upstream version 6.83.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user