[5844] | 1 | Name: perl-CPAN-Changes |
---|
| 2 | Summary: Read and write Changes files |
---|
[9063] | 3 | Version: 0.30 |
---|
[5844] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: GPL+ or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/CPAN-Changes/ |
---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/CPAN-Changes-%{version}.tar.gz |
---|
[9063] | 9 | |
---|
[5844] | 10 | BuildArch: noarch |
---|
[9063] | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5844] | 12 | BuildRequires: perl >= 2:5.10.0 |
---|
| 13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 14 | BuildRequires: perl(Test::More) |
---|
| 15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
| 16 | BuildRequires: perl(Test::Pod::Coverage) >= 1.00 |
---|
| 17 | BuildRequires: perl(Text::Wrap) |
---|
| 18 | BuildRequires: perl(version) >= 0.79 |
---|
[9063] | 19 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
[5844] | 20 | |
---|
| 21 | %description |
---|
| 22 | It is standard practice to include a Changes file in your distribution. The |
---|
| 23 | purpose of the Changes file is to help a user figure out what has changed |
---|
| 24 | since the last release. |
---|
| 25 | |
---|
| 26 | People have devised many ways to write the Changes file. A preliminary |
---|
| 27 | specification has been created (CPAN::Changes::Spec) to encourage module |
---|
| 28 | authors to write clear and concise Changes. |
---|
| 29 | |
---|
| 30 | This module will help users programmatically read and write Changes files |
---|
| 31 | that conform to the specification. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n CPAN-Changes-%{version} |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | perl Makefile.PL INSTALLDIRS=vendor |
---|
| 38 | make %{?_smp_mflags} |
---|
| 39 | |
---|
| 40 | %install |
---|
| 41 | rm -rf %{buildroot} |
---|
| 42 | make pure_install DESTDIR=%{buildroot} |
---|
| 43 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 44 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
---|
| 45 | %{_fixperms} %{buildroot} |
---|
| 46 | |
---|
| 47 | %check |
---|
| 48 | make test |
---|
| 49 | make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc Changes README |
---|
[9063] | 57 | %{_bindir}/tidy_changelog |
---|
[5844] | 58 | %{perl_vendorlib}/CPAN/ |
---|
| 59 | %{perl_vendorlib}/Test/ |
---|
[9063] | 60 | %{_mandir}/man1/tidy_changelog.1* |
---|
[5844] | 61 | %{_mandir}/man3/CPAN::Changes.3pm* |
---|
[9063] | 62 | %{_mandir}/man3/CPAN::Changes::Group.3pm* |
---|
[5844] | 63 | %{_mandir}/man3/CPAN::Changes::Release.3pm* |
---|
| 64 | %{_mandir}/man3/CPAN::Changes::Spec.3pm* |
---|
| 65 | %{_mandir}/man3/Test::CPAN::Changes.3pm* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[9063] | 68 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.30-1 |
---|
| 69 | - updated to 0.30 |
---|
| 70 | - built with perl 5.16.3 |
---|
| 71 | |
---|
[5844] | 72 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18-1 |
---|
| 73 | - initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.18-2 |
---|
| 76 | - Fedora 17 mass rebuild |
---|
| 77 | |
---|
| 78 | * Tue Oct 18 2011 Paul Howarth <paul@city-fan.org> - 0.18-1 |
---|
| 79 | - Update to 0.18: |
---|
| 80 | - Expand changes_file_ok() to accept arguments so that a specific version may |
---|
| 81 | be checked |
---|
| 82 | - Add $VERSION to Test::CPAN::Changes so it plays nice with the toolchain |
---|
| 83 | e.g. Module::Install::AuthorRequires |
---|
| 84 | |
---|
| 85 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.17-2 |
---|
| 86 | - Perl mass rebuild |
---|
| 87 | |
---|
| 88 | * Thu Apr 21 2011 Paul Howarth <paul@city-fan.org> - 0.17-1 |
---|
| 89 | - Update to 0.17: |
---|
| 90 | - Eliminate extra whitespace when release data is not defined (CPAN RT#67441) |
---|
| 91 | - Require version.pm 0.79, which introduced the $LAX regexp (CPAN RT#67613) |
---|
| 92 | - Add the option to sort groups |
---|
| 93 | |
---|
| 94 | * Wed Apr 20 2011 Paul Howarth <paul@city-fan.org> - 0.16-1 |
---|
| 95 | - Initial RPM version |
---|