Update to 0.005

- New upstream release 0.005
  - No longer include a Makefile.PL in the distribution
  - In documentation, use four-column indentation for all verbatim material
  - In META.{yml,json}, point to public bug tracker
  - Convert .cvsignore to .gitignore
- Classify buildreqs by usage
- Don't need to remote empty directories from the buildroot
- Make %files list more explicit
- Drop legacy Group: tag
This commit is contained in:
Paul Howarth 2017-07-28 12:09:34 +01:00
parent 0b5b1cff6e
commit 65eac13a65
3 changed files with 32 additions and 18 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Date-ISO8601-0.004.tar.gz
/Date-ISO8601-0.005.tar.gz

View File

@ -1,28 +1,32 @@
Name: perl-Date-ISO8601
Version: 0.004
Release: 17%{?dist}
Version: 0.005
Release: 1%{?dist}
Summary: Three ISO 8601 numerical calendars
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Date-ISO8601/
Source0: http://www.cpan.org/modules/by-module/Date/Date-ISO8601-%{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(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(integer)
BuildRequires: perl(Module::Build)
BuildRequires: perl(parent)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(warnings)
# 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))
Requires: perl(Exporter)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
The international standard ISO 8601 "Data elements and interchange formats
@ -41,24 +45,33 @@ relating to those parts of the standard; this is only about labeling days.
%setup -q -n Date-ISO8601-%{version}
%build
%{__perl} Build.PL installdirs=vendor
perl Build.PL --installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_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}/Date/
%{_mandir}/man3/Date::ISO8601.3*
%changelog
* Fri Jul 28 2017 Paul Howarth <paul@city-fan.org> - 0.005-1
- Update to 0.005
- No longer include a Makefile.PL in the distribution
- In documentation, use four-column indentation for all verbatim material
- In META.{yml,json}, point to public bug tracker
- Convert .cvsignore to .gitignore
- Classify buildreqs by usage
- Don't need to remote empty directories from the buildroot
- Make %%files list more explicit
- Drop legacy Group: tag
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.004-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
e8efa8355310f95605f8f7f399ecb5e0 Date-ISO8601-0.004.tar.gz
SHA512 (Date-ISO8601-0.005.tar.gz) = 3644542fbe728f8df10ac4f9623b3c2186c36b6dd6d1718121e360a8ba9504fbd1bd8b31064ac02c524528726eaff0fc72cd1b7cbc04ebe0cdfc753a99895ad5