Import
This commit is contained in:
parent
7a7b7495de
commit
60d8298b0c
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Module-Install-ManifestSkip-0.20.tar.gz
|
||||
49
perl-Module-Install-ManifestSkip.spec
Normal file
49
perl-Module-Install-ManifestSkip.spec
Normal file
@ -0,0 +1,49 @@
|
||||
Name: perl-Module-Install-ManifestSkip
|
||||
Version: 0.20
|
||||
Release: 1%{?dist}
|
||||
Summary: Generate a MANIFEST.SKIP file
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Install-ManifestSkip/
|
||||
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Install-ManifestSkip-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Module::Manifest::Skip) >= 0.10
|
||||
# Tests:
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module generates a MANIFEST.SKIP file for you (using
|
||||
Module::Manifest::Skip) that contains the common files that people do not
|
||||
want in their MANIFEST files. The SKIP file is generated each time that you
|
||||
(the module author) run Makefile.PL.
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Install-ManifestSkip-%{version}
|
||||
# XXX: Keep bundled built-time modules to break dependency cycle on
|
||||
# Module::Package and because upstream uses old 'name' attribute.
|
||||
|
||||
%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 Apr 23 2012 Petr Pisar <ppisar@redhat.com> 0.20-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user