epel9
Petr Písař 14 years ago
parent 4402ae4230
commit 73d4f18c13

1
.gitignore vendored

@ -1 +1,2 @@
/Test-DistManifest-1.009.tar.gz /Test-DistManifest-1.009.tar.gz
/Test-DistManifest-1.011.tar.gz

@ -1,5 +1,5 @@
Name: perl-Test-DistManifest Name: perl-Test-DistManifest
Version: 1.009 Version: 1.011
Release: 1%{?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
@ -7,24 +7,25 @@ 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/J/JA/JAWNSY/Test-DistManifest-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/J/JA/JAWNSY/Test-DistManifest-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Unix) BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Manifest) >= 0.07 BuildRequires: perl(Module::Manifest) >= 0.07
BuildRequires: perl(Test::Builder) >= 0.72 BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::More) >= 0.62
# Tests only: # Tests only:
BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::NoWarnings) >= 0.084 BuildRequires: perl(Test::NoWarnings) >= 0.084
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 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) >= 0.72 Requires: perl(Test::Builder)
# This is a plug-in into Test::More. Depend on it even if not mentioned in the # This is a plug-in into Test::More. Depend on it even if not mentioned in the
# code # code
Requires: perl(Test::More) >= 0.62 Requires: perl(Test::More) >= 0.62
# Filter underspecifed dependencies # Filter underspecifed dependencies
%filter_from_requires /^perl(Module::Manifest)$/d %filter_from_requires /^perl(Module::Manifest)$/d
# Filter multiple dependencies
%filter_from_requires /^perl(Test::Builder)$/d %filter_from_requires /^perl(Test::Builder)$/d
%filter_setup %filter_setup
@ -36,18 +37,20 @@ distribution.
%setup -q -n Test-DistManifest-%{version} %setup -q -n Test-DistManifest-%{version}
%build %build
%{__perl} Build.PL installdirs=core %{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
./Build make %{?_smp_mflags}
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 make pure_install PERL_INSTALL_ROOT=$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 {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
# post-install rpmbuild scripts contaminates RPM_BUILD_ROOT (bug #672538). # post-install rpmbuild scripts contaminates RPM_BUILD_ROOT (bug #672538).
rm debug*.list rm debug*.list
./Build test make test
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -56,6 +59,10 @@ rm debug*.list
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* 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 * Tue Jan 25 2011 Petr Pisar <ppisar@redhat.com> 1.009-1
- Specfile autogenerated by cpanspec 1.78. - Specfile autogenerated by cpanspec 1.78.
- Remove BuildRoot stuff - Remove BuildRoot stuff

@ -1 +1 @@
014331ccac1b3efe49f0a55fc59e552d Test-DistManifest-1.009.tar.gz 669c4f3e99dd60f1a7a198b3b2e61026 Test-DistManifest-1.011.tar.gz

Loading…
Cancel
Save