|
|
|
Name: perl-Test-DistManifest
|
|
|
|
Version: 1.014
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Author test that validates a package MANIFEST
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Test-DistManifest/
|
|
|
|
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-DistManifest-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec::Unix)
|
|
|
|
BuildRequires: perl(Module::Manifest) >= 0.07
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
# Tests only:
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(Test::Builder::Tester)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::NoWarnings) >= 0.084
|
|
|
|
# Test::Warnings not used
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Module::Manifest) >= 0.07
|
|
|
|
Requires: perl(Test::Builder)
|
|
|
|
|
|
|
|
# Filter underspecifed dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((Module::Manifest|Test::Builder)\\)$
|
|
|
|
|
|
|
|
%description
|
|
|
|
This Perl module provides a simple method of testing that a MANIFEST matches
|
|
|
|
the distribution.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-DistManifest-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
# post-install rpmbuild scripts contaminates RPM_BUILD_ROOT (bug #672538).
|
|
|
|
rm *.list
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc Changes CONTRIBUTING examples README
|
|
|
|
%{perl_privlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-7
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-5
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.014-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.014-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.014-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Wed Feb 11 2015 Petr Pisar <ppisar@redhat.com> - 1.014-1
|
|
|
|
- 1.014 bump
|
|
|
|
|
|
|
|
* Mon Feb 09 2015 Petr Pisar <ppisar@redhat.com> - 1.013-1
|
|
|
|
- 1.013 bump
|
|
|
|
|
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.012-8
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.012-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
- Remove more debuginfo remnants
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Nov 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.012-4
|
|
|
|
- Remove doubled requires
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.012-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 1.012-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Mon Apr 23 2012 Petr Pisar <ppisar@redhat.com> - 1.012-1
|
|
|
|
- 1.012 bump
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Iain Arnell <iarnell@gmail.com> 1.011-3
|
|
|
|
- update filtering for rpm 4.9
|
|
|
|
|
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.011-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Wed Apr 27 2011 Petr Pisar <ppisar@redhat.com> - 1.011-1
|
|
|
|
- 1.011 bump
|
|
|
|
- Move to ExtUtils::MakeMaker
|
|
|
|
|
|
|
|
* Tue Jan 25 2011 Petr Pisar <ppisar@redhat.com> 1.009-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|
|
- Remove BuildRoot stuff
|
|
|
|
- Install into perl core directory
|
|
|
|
- Hack %%check for rpmbuild bug #672538
|