Import
This commit is contained in:
parent
15ad8f20c3
commit
8d2b64896e
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/ExtUtils-Manifest-1.60.tar.gz
|
||||
52
perl-ExtUtils-Manifest.spec
Normal file
52
perl-ExtUtils-Manifest.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: perl-ExtUtils-Manifest
|
||||
Version: 1.60
|
||||
Release: 1%{?dist}
|
||||
Summary: Utilities to write and check a MANIFEST file
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/ExtUtils-Manifest/
|
||||
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/ExtUtils-Manifest-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec) >= 0.8
|
||||
# Tests:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(File::Path)
|
||||
Requires: perl(File::Spec) >= 0.8
|
||||
|
||||
# Remove underspecified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\\s*$
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n ExtUtils-Manifest-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 28 2011 Petr Pisar <ppisar@redhat.com> 1.60-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove defattr and BuildRoot from spec code.
|
||||
Loading…
Reference in New Issue
Block a user