[perl-Module-Manifest-Skip] Import

Petr Pisar ppisar at fedoraproject.org
Thu May 10 06:07:49 UTC 2012


commit 25bd2d937aa51c5bd6d129b2bc2d74568bee016f
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu May 10 08:07:31 2012 +0200

    Import

 .gitignore                     |    1 +
 perl-Module-Manifest-Skip.spec |   61 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1d55255 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Module-Manifest-Skip-0.16.tar.gz
diff --git a/perl-Module-Manifest-Skip.spec b/perl-Module-Manifest-Skip.spec
new file mode 100644
index 0000000..b4c68e8
--- /dev/null
+++ b/perl-Module-Manifest-Skip.spec
@@ -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 at redhat.com> 0.16-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..7de789b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+465ac6f9ad01d9042d1b87b6c2440f6f  Module-Manifest-Skip-0.16.tar.gz


More information about the scm-commits mailing list