Update to 0.010

- New upstream release 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
This commit is contained in:
Paul Howarth 2017-07-23 15:35:54 +01:00
parent fff348d7c0
commit 39d1250f72
2 changed files with 29 additions and 17 deletions

View File

@ -1,25 +1,29 @@
Name: perl-DateTime-TimeZone-SystemV
Version: 0.009
Release: 9%{?dist}
Version: 0.010
Release: 1%{?dist}
Summary: System V and POSIX timezone strings
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DateTime-TimeZone-SystemV/
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DateTime-TimeZone-SystemV-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build)
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Date::ISO8601)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Params::Classify)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
# Test Suite
BuildRequires: perl(Test::More)
# Optional Tests
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
An instance of this class represents a timezone that was specified by means
@ -35,23 +39,31 @@ can be used with DateTime objects.
%setup -q -n DateTime-TimeZone-SystemV-%{version}
%build
%{__perl} Build.PL installdirs=vendor
perl Build.PL --installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}/*
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} -c %{buildroot}
%check
./Build test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{perl_vendorlib}/DateTime/
%{_mandir}/man3/DateTime::TimeZone::SystemV.3*
%changelog
* 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
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.009-9
- Perl 5.26 rebuild

View File

@ -1 +1 @@
9e5f8e93ab09f7c53a59ce76717df93e DateTime-TimeZone-SystemV-0.009.tar.gz
SHA512 (DateTime-TimeZone-SystemV-0.010.tar.gz) = e7816010ba123d31f3cd3c87a62ac00def381732bab762e81d0ba2f184ef3ee7a3c879ab8c056b59429c13b11d2829ddf86c52cc6c379998c24838112543d02e