2017-12-08 15:04:21 +00:00
|
|
|
# Run optionl test
|
2018-04-05 10:01:27 +00:00
|
|
|
%if ! (0%{?rhel})
|
2017-12-08 15:04:21 +00:00
|
|
|
%bcond_without perl_DateTime_TimeZone_SystemV_enables_optional_test
|
2018-04-05 10:01:27 +00:00
|
|
|
%else
|
|
|
|
%bcond_with perl_DateTime_TimeZone_SystemV_enables_optional_test
|
|
|
|
%endif
|
2017-12-08 15:04:21 +00:00
|
|
|
|
2011-11-07 15:33:46 +00:00
|
|
|
Name: perl-DateTime-TimeZone-SystemV
|
2017-07-23 14:35:54 +00:00
|
|
|
Version: 0.010
|
2020-06-23 08:34:05 +00:00
|
|
|
Release: 10%{?dist}
|
2011-11-07 15:33:46 +00:00
|
|
|
Summary: System V and POSIX timezone strings
|
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:30:52 +00:00
|
|
|
URL: https://metacpan.org/release/DateTime-TimeZone-SystemV
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-SystemV-%{version}.tar.gz
|
2011-11-07 15:33:46 +00:00
|
|
|
BuildArch: noarch
|
2017-07-23 14:35:54 +00:00
|
|
|
# Module Build
|
|
|
|
BuildRequires: coreutils
|
2016-06-24 08:27:33 +00:00
|
|
|
BuildRequires: perl-generators
|
2017-07-23 14:35:54 +00:00
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
# Module Runtime
|
2011-11-07 15:33:46 +00:00
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Date::ISO8601)
|
|
|
|
BuildRequires: perl(Params::Classify)
|
|
|
|
BuildRequires: perl(strict)
|
2017-07-23 14:35:54 +00:00
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Test Suite
|
2011-11-07 15:33:46 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2017-12-08 15:04:21 +00:00
|
|
|
%if %{with perl_DateTime_TimeZone_SystemV_enables_optional_test}
|
2017-07-23 14:35:54 +00:00
|
|
|
# Optional Tests
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2011-11-07 15:33:46 +00:00
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
2017-12-08 15:04:21 +00:00
|
|
|
%endif
|
2017-07-23 14:35:54 +00:00
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
2011-11-07 15:33:46 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
An instance of this class represents a timezone that was specified by means
|
|
|
|
of a System V timezone recipe or the POSIX extended form of the same
|
|
|
|
syntax. These can express a plain offset from Universal Time, or a system
|
|
|
|
of two offsets (standard and daylight saving time) switching on a yearly
|
|
|
|
cycle according to certain types of rule.
|
|
|
|
|
|
|
|
This class implements the DateTime::TimeZone interface, so that its instances
|
|
|
|
can be used with DateTime objects.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-TimeZone-SystemV-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-07-23 14:35:54 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
2011-11-07 15:33:46 +00:00
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
2017-07-23 14:35:54 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
%{_fixperms} -c %{buildroot}
|
2011-11-07 15:33:46 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes README
|
2017-07-23 14:35:54 +00:00
|
|
|
%{perl_vendorlib}/DateTime/
|
|
|
|
%{_mandir}/man3/DateTime::TimeZone::SystemV.3*
|
2011-11-07 15:33:46 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-06-23 08:34:05 +00:00
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-10
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-01-29 23:30:05 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 02:18:31 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-31 17:32:03 +00:00
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-7
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-02-01 20:05:28 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 16:56:36 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-28 11:15:20 +00:00
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.010-4
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 20:32:05 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 03:32:36 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.010-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-23 14:35:54 +00:00
|
|
|
* Sun Jul 23 2017 Paul Howarth <paul@city-fan.org> - 0.010-1
|
|
|
|
- Update to 0.010
|
|
|
|
- No longer include a Makefile.PL in the distribution
|
|
|
|
- In META.{yml,json}, point to public bug tracker
|
|
|
|
- In META.json, specify type of public repository
|
|
|
|
- Classify buildreqs by usage
|
|
|
|
- Make %%files list more specific
|
|
|
|
- Drop legacy Group: tag
|
|
|
|
|
2017-06-05 00:46:09 +00:00
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-9
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 02:41:11 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-15 14:16:54 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-7
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 13:16:27 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.009-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 02:38:26 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.009-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-05 14:24:37 +00:00
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-4
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-28 00:15:06 +00:00
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-3
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 03:16:58 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.009-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-03 15:40:54 +00:00
|
|
|
* Mon Feb 3 2014 Paul Howarth <paul@city-fan.org> - 0.009-1
|
|
|
|
- Update to 0.009
|
|
|
|
- In META.{yml,json}, point to public git repository
|
|
|
|
- Bugfix: permit time of day for a DST change to extend up to 24:59:59,
|
|
|
|
which POSIX (unclearly) permits and is actually seen in the current
|
|
|
|
rule for timezone Asia/Amman
|
|
|
|
- Support the extended form of the recipe syntax that is used by
|
|
|
|
version 3 of the tzfile(5) file format
|
|
|
|
- Bugfix: correct ->offset_for_local_datetime for perpetual-DST ruleset
|
|
|
|
that can arise with the tzfile3 system
|
|
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
|
2013-08-03 19:53:37 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-21 02:10:34 +00:00
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 0.006-5
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:54:14 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 14:38:53 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-13 12:29:55 +00:00
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.006-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-03-11 14:44:09 +00:00
|
|
|
* Sun Mar 11 2012 Iain Arnell <iarnell@gmail.com> 0.006-1
|
|
|
|
- update to latest upstream version
|
|
|
|
- drop Date::JD dependency
|
|
|
|
|
2012-01-13 13:26:56 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.005-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-07 15:33:46 +00:00
|
|
|
* Thu Oct 27 2011 Iain Arnell <iarnell@gmail.com> 0.005-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|