[perl-Module-Package-Au/f20] initial build

Tom Callaway spot at fedoraproject.org
Tue Jul 8 20:29:46 UTC 2014


commit fa0fc562e9cf8391a81033897d2d4a286d7e71b0
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Jul 8 16:29:57 2014 -0400

    initial build

 perl-Module-Package-Au-no-bundle.patch |   20 ++++++++++
 perl-Module-Package-Au.spec            |   60 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/perl-Module-Package-Au-no-bundle.patch b/perl-Module-Package-Au-no-bundle.patch
new file mode 100644
index 0000000..d6c66be
--- /dev/null
+++ b/perl-Module-Package-Au-no-bundle.patch
@@ -0,0 +1,20 @@
+diff -up Module-Package-Au-2/MANIFEST.no-bundle Module-Package-Au-2/MANIFEST
+--- Module-Package-Au-2/MANIFEST.no-bundle	2014-07-08 15:07:58.736951231 -0400
++++ Module-Package-Au-2/MANIFEST	2014-07-08 15:08:52.625596868 -0400
+@@ -1,16 +1,4 @@
+ Changes
+-inc/Module/Install.pm
+-inc/Module/Install/Base.pm
+-inc/Module/Install/Can.pm
+-inc/Module/Install/Fetch.pm
+-inc/Module/Install/GithubMeta.pm
+-inc/Module/Install/Makefile.pm
+-inc/Module/Install/Metadata.pm
+-inc/Module/Install/Package.pm
+-inc/Module/Install/Win32.pm
+-inc/Module/Install/WriteAll.pm
+-inc/Module/Package.pm
+-inc/Pod/Markdown.pm
+ lib/Module/Package/Au.pm
+ Makefile.PL
+ MANIFEST			This list of files
diff --git a/perl-Module-Package-Au.spec b/perl-Module-Package-Au.spec
new file mode 100644
index 0000000..bac5cec
--- /dev/null
+++ b/perl-Module-Package-Au.spec
@@ -0,0 +1,60 @@
+Name:		perl-Module-Package-Au
+Version:	2
+Release:	1%{?dist}
+Summary:	Reusable Module::Install bits
+Group:		Development/Libraries
+License:	CC0
+URL:		http://search.cpan.org/dist/Module-Package-Au/
+Source0:	http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Module-Package-Au-%{version}.tar.gz
+Patch0:		perl-Module-Package-Au-no-bundle.patch
+BuildArch:	noarch
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Module::Install::AuthorTests)
+BuildRequires:	perl(Module::Install::GithubMeta)
+BuildRequires:	perl(Module::Install::ReadmeFromPod)
+BuildRequires:	perl(Module::Install::ReadmeMarkdownFromPod)
+BuildRequires:	perl(Module::Install::Repository)
+BuildRequires:	perl(Module::Package) >= 0.24
+BuildRequires:	perl(Pod::Markdown)
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+# Don't "provide" private Perl libs
+%{?perl_default_filter}
+
+%description
+This module defines a set of standard configurations for Makefile.PL
+files based on Module::Package.
+
+%prep
+%setup -q -n Module-Package-Au-%{version}
+%patch0 -p1 -b .no-bundle
+rm -rf inc/*
+
+# Work around goofy perl versioning mistakes of the past
+sed -i 's|1.110730|1.301|g' lib/Module/Package/Au.pm
+sed -i 's|1.110730|1.301|g' META.yml
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/Module/Package/
+%{_mandir}/man3/Module::Package::Au.3pm*
+
+%changelog
+* Tue Jul  8 2014 Tom Callaway <spot at fedoraproject.org> - 2-1
+- update to 2
+
+* Tue Dec 11 2012 Tom Callaway <spot at fedoraproject.org> - 0.01-1
+- initial package
diff --git a/sources b/sources
index e69de29..3974941 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8a1162fe09bc3fed6647441750bff9cc  Module-Package-Au-2.tar.gz


More information about the scm-commits mailing list