initial build

This commit is contained in:
Tom Callaway 2014-07-08 16:17:47 -04:00
parent 6ee31cba2d
commit 655ca42d3c
4 changed files with 82 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Module-Package-Au-2.tar.gz

View File

@ -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

View File

@ -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@fedoraproject.org> - 2-1
- update to 2
* Tue Dec 11 2012 Tom Callaway <spot@fedoraproject.org> - 0.01-1
- initial package

View File

@ -0,0 +1 @@
8a1162fe09bc3fed6647441750bff9cc Module-Package-Au-2.tar.gz