epel9
Petr Písař 10 years ago
parent 8070105429
commit 4140712524

1
.gitignore vendored

@ -1,3 +1,4 @@
/Test-DistManifest-1.009.tar.gz /Test-DistManifest-1.009.tar.gz
/Test-DistManifest-1.011.tar.gz /Test-DistManifest-1.011.tar.gz
/Test-DistManifest-1.012.tar.gz /Test-DistManifest-1.012.tar.gz
/Test-DistManifest-1.013.tar.gz

@ -1,51 +1,53 @@
Name: perl-Test-DistManifest Name: perl-Test-DistManifest
Version: 1.012 Version: 1.013
Release: 8%{?dist} Release: 1%{?dist}
Summary: Author test that validates a package MANIFEST Summary: Author test that validates a package MANIFEST
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-DistManifest/ URL: http://search.cpan.org/dist/Test-DistManifest/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-DistManifest-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/E/ET/ETHER/Test-DistManifest-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time: # Run-time:
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::Manifest) BuildRequires: perl(ExtUtils::Manifest)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Module::Manifest) >= 0.07 BuildRequires: perl(Module::Manifest) >= 0.07
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More) >= 0.62
# Tests only: # Tests only:
BuildRequires: perl(if)
BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::NoWarnings) >= 0.084 BuildRequires: perl(Test::NoWarnings) >= 0.084
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Test::Warnings not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Module::Manifest) >= 0.07 Requires: perl(Module::Manifest) >= 0.07
Requires: perl(Test::Builder) Requires: perl(Test::Builder)
# This is a plug-in into Test::More. Depend on it even if not mentioned in the
# code
Requires: perl(Test::More) >= 0.62
# Filter underspecifed dependencies # Filter underspecifed dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((Module::Manifest|Test::Builder)\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((Module::Manifest|Test::Builder)\\)$
%description %description
This module provides a simple method of testing that a MANIFEST matches the This Perl module provides a simple method of testing that a MANIFEST matches
distribution. the distribution.
%prep %prep
%setup -q -n Test-DistManifest-%{version} %setup -q -n Test-DistManifest-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT 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 .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -54,11 +56,15 @@ rm *.list
make test make test
%files %files
%doc Changes examples LICENSE README %license LICENSE
%doc Changes CONTRIBUTING examples README
%{perl_privlib}/* %{perl_privlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* 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 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.012-8
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
6beebac10308f7164c78eca13fd8d1b8 Test-DistManifest-1.012.tar.gz e21ddfd13c7e1756a0c481c971d1901f Test-DistManifest-1.013.tar.gz

Loading…
Cancel
Save