Blame SPECS/perl-CPAN-Changes.spec

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