Update to 1.005005
- New upstream release 1.005005 - Detect mercurial when checking for development trees - Avoid using constant.pm to save a bit of memory on older perls - Update to v2 metadata - Fix skip on old perl on test script - Extra prereqs will be listed as hard prerequisites if a compiler is available - Added support for PUREPERL_ONLY (CPAN RT#91407) - Fixed using strictures->VERSION to query the version (CPAN RT#92965) - Make sure meta files list extra modules as recommendations, not requirements - Include minimum perl version in metadata - This release by HAARG → update source URL - Make %files list more explicit
This commit is contained in:
parent
3cb07dc441
commit
841ff381a0
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1 @@
|
||||
/strictures-1.002002.tar.gz
|
||||
/strictures-1.003001.tar.gz
|
||||
/strictures-1.004001.tar.gz
|
||||
/strictures-1.004002.tar.gz
|
||||
/strictures-1.004004.tar.gz
|
||||
/strictures-[0-9.]*.tar.gz
|
||||
|
@ -1,23 +1,28 @@
|
||||
Name: perl-strictures
|
||||
Version: 1.004004
|
||||
Release: 6%{?dist}
|
||||
Version: 1.005005
|
||||
Release: 1%{?dist}
|
||||
Summary: Turn on strict and make all warnings fatal
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/strictures/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/strictures-%{version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Text::ParseWords)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
# for extra testing
|
||||
# Test Suite
|
||||
BuildRequires: perl(Test::More)
|
||||
# Optional Tests
|
||||
BuildRequires: perl(indirect)
|
||||
BuildRequires: perl(multidimensional)
|
||||
BuildRequires: perl(bareword::filehandles)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This package turns on strict and makes all warnings fatal.
|
||||
@ -26,25 +31,38 @@ This package turns on strict and makes all warnings fatal.
|
||||
%setup -q -n strictures-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/strictures.pm
|
||||
%{_mandir}/man3/strictures.3*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 3 2014 Paul Howarth <paul@city-fan.org> - 1.005005-1
|
||||
- Update to 1.005005
|
||||
- Detect mercurial when checking for development trees
|
||||
- Avoid using constant.pm to save a bit of memory on older perls
|
||||
- Update to v2 metadata
|
||||
- Fix skip on old perl on test script
|
||||
- Extra prereqs will be listed as hard prerequisites if a compiler is
|
||||
available
|
||||
- Added support for PUREPERL_ONLY (CPAN RT#91407)
|
||||
- Fixed using strictures->VERSION to query the version (CPAN RT#92965)
|
||||
- Make sure meta files list extra modules as recommendations, not requirements
|
||||
- Include minimum perl version in metadata
|
||||
- This release by HAARG → update source URL
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.004004-6
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user