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