|
|
23150c |
Name: perl-CPAN-Changes
|
|
|
23150c |
Summary: Read and write Changes files
|
|
|
23150c |
Version: 0.20
|
|
|
23150c |
Release: 2%{?dist}
|
|
|
23150c |
License: GPL+ or Artistic
|
|
|
23150c |
Group: Development/Libraries
|
|
|
23150c |
URL: http://search.cpan.org/dist/CPAN-Changes/
|
|
|
23150c |
Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz
|
|
|
23150c |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
23150c |
BuildArch: noarch
|
|
|
23150c |
BuildRequires: perl >= 4:5.10.0
|
|
|
23150c |
BuildRequires: perl(Cwd)
|
|
|
23150c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
23150c |
BuildRequires: perl(File::Path)
|
|
|
23150c |
BuildRequires: perl(Scalar::Util)
|
|
|
23150c |
BuildRequires: perl(Test::More) >= 0.96
|
|
|
23150c |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
23150c |
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
23150c |
BuildRequires: perl(Text::Wrap)
|
|
|
23150c |
BuildRequires: perl(version) >= 0.79
|
|
|
23150c |
|
|
|
23150c |
%description
|
|
|
23150c |
It is standard practice to include a Changes file in your distribution. The
|
|
|
23150c |
purpose of the Changes file is to help a user figure out what has changed
|
|
|
23150c |
since the last release.
|
|
|
23150c |
|
|
|
23150c |
People have devised many ways to write the Changes file. A preliminary
|
|
|
23150c |
specification has been created (CPAN::Changes::Spec) to encourage module
|
|
|
23150c |
authors to write clear and concise Changes.
|
|
|
23150c |
|
|
|
23150c |
This module will help users programmatically read and write Changes files
|
|
|
23150c |
that conform to the specification.
|
|
|
23150c |
|
|
|
23150c |
%prep
|
|
|
23150c |
%setup -q -n CPAN-Changes-%{version}
|
|
|
23150c |
|
|
|
23150c |
%build
|
|
|
23150c |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
23150c |
make %{?_smp_mflags}
|
|
|
23150c |
|
|
|
23150c |
%install
|
|
|
23150c |
make pure_install DESTDIR=%{buildroot}
|
|
|
23150c |
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
23150c |
%{_fixperms} %{buildroot}
|
|
|
23150c |
|
|
|
23150c |
%check
|
|
|
23150c |
make test
|
|
|
23150c |
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|
|
23150c |
|
|
|
23150c |
%files
|
|
|
23150c |
%doc Changes README
|
|
|
23150c |
%{_bindir}/tidy_changelog
|
|
|
23150c |
%{perl_vendorlib}/CPAN/
|
|
|
23150c |
%{perl_vendorlib}/Test/
|
|
|
23150c |
%{_mandir}/man1/tidy_changelog.1*
|
|
|
23150c |
%{_mandir}/man3/CPAN::Changes.3pm*
|
|
|
23150c |
%{_mandir}/man3/CPAN::Changes::Release.3pm*
|
|
|
23150c |
%{_mandir}/man3/CPAN::Changes::Spec.3pm*
|
|
|
23150c |
%{_mandir}/man3/Test::CPAN::Changes.3pm*
|
|
|
23150c |
|
|
|
23150c |
%changelog
|
|
|
23150c |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20-2
|
|
|
23150c |
- Mass rebuild 2013-12-27
|
|
|
23150c |
|
|
|
23150c |
* Thu May 2 2013 Paul Howarth <paul@city-fan.org> - 0.20-1
|
|
|
23150c |
- Update to 0.20:
|
|
|
23150c |
- 'delete_empty_groups' shouldn't erronously delete default group
|
|
|
23150c |
- Add tidy_changelog utility script
|
|
|
23150c |
- Minor pod fix
|
|
|
23150c |
- Bump Test::More version requirement to 0.96 (CPAN RT#84994)
|
|
|
23150c |
|
|
|
23150c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-5
|
|
|
23150c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
23150c |
|
|
|
23150c |
* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-4
|
|
|
23150c |
- Update dependencies
|
|
|
23150c |
|
|
|
23150c |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
|
|
|
23150c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
23150c |
|
|
|
23150c |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.19-2
|
|
|
23150c |
- Perl 5.16 rebuild
|
|
|
23150c |
|
|
|
23150c |
* Tue May 1 2012 Paul Howarth <paul@city-fan.org> - 0.19-1
|
|
|
23150c |
- Update to 0.19:
|
|
|
23150c |
- Test::CPAN::Changes now accepts version entries ending in '-TRIAL'
|
|
|
23150c |
(CPAN RT#76882)
|
|
|
23150c |
- releases() in CPAN::Changes also accepts entries ending in '-TRIAL'
|
|
|
23150c |
- Don't need to remove empty directories from buildroot
|
|
|
23150c |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
23150c |
|
|
|
23150c |
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2
|
|
|
23150c |
- Fedora 17 mass rebuild
|
|
|
23150c |
|
|
|
23150c |
* Tue Oct 18 2011 Paul Howarth <paul@city-fan.org> - 0.18-1
|
|
|
23150c |
- Update to 0.18:
|
|
|
23150c |
- Expand changes_file_ok() to accept arguments so that a specific version may
|
|
|
23150c |
be checked
|
|
|
23150c |
- Add $VERSION to Test::CPAN::Changes so it plays nice with the toolchain
|
|
|
23150c |
e.g. Module::Install::AuthorRequires
|
|
|
23150c |
|
|
|
23150c |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2
|
|
|
23150c |
- Perl mass rebuild
|
|
|
23150c |
|
|
|
23150c |
* Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1
|
|
|
23150c |
- Update to 0.17:
|
|
|
23150c |
- Eliminate extra whitespace when release data is not defined (CPAN RT#67441)
|
|
|
23150c |
- Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613)
|
|
|
23150c |
- Add the option to sort groups
|
|
|
23150c |
|
|
|
23150c |
* Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1
|
|
|
23150c |
- Initial RPM version
|