This commit is contained in:
Petr Písař 2012-05-10 08:07:31 +02:00
parent c8254b2f23
commit 25bd2d937a
3 changed files with 63 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Module-Manifest-Skip-0.16.tar.gz

View File

@ -0,0 +1,61 @@
Name: perl-Module-Manifest-Skip
Version: 0.16
Release: 1%{?dist}
Summary: MANIFEST.SKIP Manangement for Modules
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Manifest-Skip/
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Module-Manifest-Skip-%{version}.tar.gz
BuildArch: noarch
# Bundled Module::Install does not more than EU::MM and few perl-only modules
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(File::ShareDir)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Moo) >= 0.009008
# Tests:
BuildRequires: perl(base)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(File::ShareDir)
Requires: perl(File::Spec)
%description
CPAN module authors use a MANIFEST.SKIP file to exclude certain well known
files from getting put into a generated MANIFEST file, which would cause them
to go into the final distribution package.
The packaging tools try to automatically skip things for you, but if you add
one of your own entries, you have to add all the common ones yourself. This
module attempts to make all of this boring process as simple and reliable as
possible.
%prep
%setup -q -n Module-Manifest-Skip-%{version}
# XXX: Do not unbundle build-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.16-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
465ac6f9ad01d9042d1b87b6c2440f6f Module-Manifest-Skip-0.16.tar.gz