a147f6e
Name:		perl-CPAN-Changes
a147f6e
Summary:	Read and write Changes files
463fa84
Version:	0.18
463fa84
Release:	1%{?dist}
a147f6e
License:	GPL+ or Artistic
a147f6e
Group:		Development/Libraries
a147f6e
URL:		http://search.cpan.org/dist/CPAN-Changes/
a147f6e
Source0:	http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz 
a147f6e
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a147f6e
BuildArch:	noarch
a147f6e
BuildRequires:	perl >= 4:5.10.0
a147f6e
BuildRequires:	perl(ExtUtils::MakeMaker)
a147f6e
BuildRequires:	perl(Test::More)
a147f6e
BuildRequires:	perl(Test::Pod) >= 1.00
a147f6e
BuildRequires:	perl(Test::Pod::Coverage) >= 1.00
a147f6e
BuildRequires:	perl(Text::Wrap)
a147f6e
BuildRequires:	perl(version) >= 0.79
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}
a147f6e
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
a147f6e
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
a147f6e
%{_fixperms} %{buildroot}
a147f6e
a147f6e
%check
a147f6e
make test
a147f6e
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
a147f6e
a147f6e
%files
a147f6e
%defattr(-,root,root,-)
a147f6e
%doc Changes README
a147f6e
%{perl_vendorlib}/CPAN/
a147f6e
%{perl_vendorlib}/Test/
a147f6e
%{_mandir}/man3/CPAN::Changes.3pm*
a147f6e
%{_mandir}/man3/CPAN::Changes::Release.3pm*
a147f6e
%{_mandir}/man3/CPAN::Changes::Spec.3pm*
463fa84
%{_mandir}/man3/Test::CPAN::Changes.3pm*
a147f6e
a147f6e
%changelog
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