a147f6e
Name:		perl-CPAN-Changes
a147f6e
Summary:	Read and write Changes files
6c2727c
Version:	0.400002
79b6834
Release:	13%{?dist}
a147f6e
License:	GPL+ or Artistic
38936e7
URL:		https://metacpan.org/release/CPAN-Changes
79b6834
Source0:	https://cpan.metacpan.org/modules/by-module/CPAN/CPAN-Changes-%{version}.tar.gz
a147f6e
BuildArch:	noarch
965f9e5
# Module Build
79b6834
BuildRequires:	coreutils
79b6834
BuildRequires:	findutils
79b6834
BuildRequires:	make
85d0376
BuildRequires:	perl-generators
79b6834
BuildRequires:	perl-interpreter
a147f6e
BuildRequires:	perl(ExtUtils::MakeMaker)
965f9e5
# Module Runtime
965f9e5
BuildRequires:	perl(Encode)
d0d54e5
BuildRequires:	perl(Scalar::Util)
93a2b82
BuildRequires:	perl(strict)
f710ec1
BuildRequires:	perl(Test::Builder)
965f9e5
BuildRequires:	perl(Text::Wrap)
965f9e5
BuildRequires:	perl(version) >= 0.99.06
965f9e5
BuildRequires:	perl(warnings)
965f9e5
# Script Runtime
965f9e5
BuildRequires:	perl(Getopt::Long)
965f9e5
BuildRequires:	perl(Pod::Usage)
965f9e5
# Test Suite
cba8def
BuildRequires:	perl(Test::More) >= 0.96
965f9e5
# Optional Tests
79b6834
%if 0%{?fedora:1}
965f9e5
BuildRequires:	perl(Moo)
79b6834
%endif
965f9e5
# Extra Tests
a147f6e
BuildRequires:	perl(Test::Pod) >= 1.00
a147f6e
BuildRequires:	perl(Test::Pod::Coverage) >= 1.00
965f9e5
# Runtime
89ebf32
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
965f9e5
Requires:	perl(version) >= 0.99.06
a147f6e
a147f6e
%description
a147f6e
It is standard practice to include a Changes file in your distribution. The
a147f6e
purpose of the Changes file is to help a user figure out what has changed
a147f6e
since the last release.
a147f6e
a147f6e
People have devised many ways to write the Changes file. A preliminary
a147f6e
specification has been created (CPAN::Changes::Spec) to encourage module
a147f6e
authors to write clear and concise Changes.
a147f6e
a147f6e
This module will help users programmatically read and write Changes files
a147f6e
that conform to the specification.
a147f6e
a147f6e
%prep
a147f6e
%setup -q -n CPAN-Changes-%{version}
a147f6e
a147f6e
%build
a147f6e
perl Makefile.PL INSTALLDIRS=vendor
a147f6e
make %{?_smp_mflags}
a147f6e
a147f6e
%install
a147f6e
make pure_install DESTDIR=%{buildroot}
79b6834
find %{buildroot} -type f -name .packlist -delete
79b6834
%{_fixperms} -c %{buildroot}
a147f6e
a147f6e
%check
a147f6e
make test
a147f6e
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
a147f6e
a147f6e
%files
a147f6e
%doc Changes README
cba8def
%{_bindir}/tidy_changelog
a147f6e
%{perl_vendorlib}/CPAN/
a147f6e
%{perl_vendorlib}/Test/
cba8def
%{_mandir}/man1/tidy_changelog.1*
965f9e5
%{_mandir}/man3/CPAN::Changes.3*
965f9e5
%{_mandir}/man3/CPAN::Changes::Group.3*
965f9e5
%{_mandir}/man3/CPAN::Changes::Release.3*
965f9e5
%{_mandir}/man3/CPAN::Changes::Spec.3*
965f9e5
%{_mandir}/man3/Test::CPAN::Changes.3*
a147f6e
a147f6e
%changelog
79b6834
* Fri Aug 23 2019 Paul Howarth <paul@city-fan.org> - 0.400002-13
79b6834
- Avoid optional test dependency perl(Moo) for EPEL builds
79b6834
- Use author-independent source URL
79b6834
- Simplify find command using -delete
79b6834
22d14eb
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-12
22d14eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
22d14eb
c3381f7
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.400002-11
c3381f7
- Perl 5.30 rebuild
c3381f7
50b5602
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-10
50b5602
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
50b5602
5fb02b4
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-9
5fb02b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5fb02b4
fe1e983
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.400002-8
fe1e983
- Perl 5.28 rebuild
fe1e983
eb828f4
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-7
eb828f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eb828f4
482f4ab
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-6
482f4ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
482f4ab
34947e7
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.400002-5
34947e7
- Perl 5.26 rebuild
34947e7
f7e971d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-4
f7e971d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f7e971d
6286dc9
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.400002-3
6286dc9
- Perl 5.24 rebuild
6286dc9
d6a0411
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.400002-2
d6a0411
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d6a0411
6c2727c
* Mon Jun 22 2015 Paul Howarth <paul@city-fan.org> - 0.400002-1
6c2727c
- Update to 0.400002
6c2727c
  - Revert whitespace changes that were inadvertantly included in previous
6c2727c
    release
6c2727c
  - Escape curly brackets in test to avoid warning in perl 5.22
6c2727c
fc31c80
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.400001-3
fc31c80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fc31c80
c34beaa
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.400001-2
c34beaa
- Perl 5.22 rebuild
c34beaa
965f9e5
* Tue May 26 2015 Paul Howarth <paul@city-fan.org> - 0.400001-1
965f9e5
- Update to 0.400001
965f9e5
  - Accept either UTF-8 or ISO-8859-1 files and decode them
965f9e5
  - Only treat bracketed text if it is on its own line with no other brackets
965f9e5
  - Bump version.pm prereq to make sure it works properly
965f9e5
  - Let long tokens (like URLs) overflow rather than splitting them into
965f9e5
    multiple lines
965f9e5
  - Don't wrap on non-breaking spaces
965f9e5
  - Clean up packaging
965f9e5
  - Return undef for dates or notes that don't exist
965f9e5
  - Quote meta chars to fix a problem that clobbered dates with timezones due
965f9e5
    to the '+' char (GH #20)
965f9e5
- This release by HAARG → update source URL
965f9e5
- Classify buildreqs by usage
965f9e5
e51520c
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.30-2
e51520c
- Perl 5.20 rebuild
e51520c
c0b2b9d
* Mon Jul 28 2014 Paul Howarth <paul@city-fan.org> - 0.30-1
c0b2b9d
- Update to 0.30:
c0b2b9d
  - Fix for subclassing CPAN::Changes::Group (GH #23)
c0b2b9d
93a2b82
* Thu Jul 24 2014 Paul Howarth <paul@city-fan.org> - 0.29-1
93a2b82
- Update to 0.29:
93a2b82
  - Groups are now objects (CPAN::Changes::Group); backwards compatibility
93a2b82
    from hashes should be preserved (GH #22)
93a2b82
89ebf32
* Thu Jun 12 2014 Paul Howarth <paul@city-fan.org> - 0.28-1
89ebf32
- Update to 0.28:
89ebf32
  - Add "SEE ALSO" links to similar modules (CPAN RT#94636)
89ebf32
  - Use perl 5.8-compatible regex
89ebf32
04d18c7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27-2
04d18c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
04d18c7
f78448c
* Sat Dec 14 2013 Paul Howarth <paul@city-fan.org> - 0.27-1
f78448c
- Update to 0.27:
f78448c
  - Bump spec version to 0.04
f78448c
  - Allow non-"word" characters between a Version and a Date
f78448c
3668cf9
* Fri Nov 22 2013 Paul Howarth <paul@city-fan.org> - 0.26-1
3668cf9
- Update to 0.26:
3668cf9
  - Fix reference issues when adding a release (CPAN RT#90605)
3668cf9
f710ec1
* Wed Oct  9 2013 Paul Howarth <paul@city-fan.org> - 0.25-1
f710ec1
- Update to 0.25:
f710ec1
  - Fix Dist::Zilla date parsing: now puts timezone data in note section
f710ec1
    (Github #17)
f710ec1
  - Move Text::Wrap usage to proper module
f710ec1
  - Typo fix
f710ec1
fb247f7
* Thu Aug 15 2013 Paul Howarth <paul@city-fan.org> - 0.23-1
fb247f7
- Update to 0.23:
fb247f7
  - Bump spec version to 0.03
fb247f7
  - Be more strict about what we consider to be a Dist::Zilla-style date
fb247f7
    to avoid false positive matches
fb247f7
  - Update W3CDTF parsing to make the "T" marker optional (CPAN RT#87499)
fb247f7
  - Fix extra whitespace for empty values after version (CPAN RT#87524)
fb247f7
f131763
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
f131763
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f131763
3eca6b3
* Tue Jul 30 2013 Paul Howarth <paul@city-fan.org> - 0.22-1
3eca6b3
- Update to 0.22:
3eca6b3
  - Sync module versions (CPAN RT#87455)
3eca6b3
ce07c59
* Tue Jul 30 2013 Paul Howarth <paul@city-fan.org> - 0.21-1
ce07c59
- Update to 0.21:
ce07c59
  Spec Changes:
ce07c59
  - Bump version to 0.02
3eca6b3
  - Added "unknown/dev" release date options (CPAN RT#67705)
3eca6b3
  - Added optional release note (CPAN RT#69321)
ce07c59
  - Added another preamble example
ce07c59
  - Added a note about line length
ce07c59
  Code Changes:
3eca6b3
  - Require Test::More 0.96 (CPAN RT#84994)
ce07c59
  - Added --check and --help flags to tidy_changelog script
ce07c59
  - Properly parse multi-line preamble
ce07c59
  - Test::CPAN::Changes now warns about parsed dates not in spec-compliant form
ce07c59
  - Handle unknown/dev release dates and release note from new spec
ce07c59
- BR: perl(Pod::Usage)
ce07c59
ae988e4
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.20-2
ae988e4
- Perl 5.18 rebuild
ae988e4
cba8def
* Thu May  2 2013 Paul Howarth <paul@city-fan.org> - 0.20-1
cba8def
- Update to 0.20:
cba8def
  - 'delete_empty_groups' shouldn't erronously delete default group
cba8def
  - Add tidy_changelog utility script
cba8def
  - Minor pod fix
cba8def
- Bump Test::More version requirement to 0.96 (CPAN RT#84994)
cba8def
fc05d6a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-5
fc05d6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fc05d6a
d0d54e5
* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-4
d0d54e5
- Update dependencies
d0d54e5
978481f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
978481f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
978481f
10f8e34
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.19-2
10f8e34
- Perl 5.16 rebuild
10f8e34
de6564e
* Tue May  1 2012 Paul Howarth <paul@city-fan.org> - 0.19-1
de6564e
- Update to 0.19:
de6564e
  - Test::CPAN::Changes now accepts version entries ending in '-TRIAL'
de6564e
    (CPAN RT#76882)
de6564e
  - releases() in CPAN::Changes also accepts entries ending in '-TRIAL'
de6564e
- Don't need to remove empty directories from buildroot
de6564e
- Drop %%defattr, redundant since rpm 4.4
de6564e
9d4643f
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2
9d4643f
- Fedora 17 mass rebuild
9d4643f
463fa84
* Tue Oct 18 2011 Paul Howarth <paul@city-fan.org> - 0.18-1
463fa84
- Update to 0.18:
463fa84
  - Expand changes_file_ok() to accept arguments so that a specific version may
463fa84
    be checked
463fa84
  - Add $VERSION to Test::CPAN::Changes so it plays nice with the toolchain
463fa84
    e.g. Module::Install::AuthorRequires
463fa84
2ff42b2
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2
2ff42b2
- Perl mass rebuild
2ff42b2
1fc4289
* Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1
1fc4289
- Update to 0.17:
1fc4289
  - Eliminate extra whitespace when release data is not defined (CPAN RT#67441)
1fc4289
  - Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613)
1fc4289
  - Add the option to sort groups
1fc4289
a147f6e
* Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1
a147f6e
- Initial RPM version