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