[perl-Package-New/f20] initial package

Tom Callaway spot at fedoraproject.org
Fri Mar 20 18:53:43 UTC 2015


commit c69295df9db908f3e3693a774d278eb1ea2d20cf
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Mar 20 14:53:42 2015 -0400

    initial package

 perl-Package-New.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 sources               |  1 +
 2 files changed, 42 insertions(+)
---
diff --git a/perl-Package-New.spec b/perl-Package-New.spec
new file mode 100644
index 0000000..3f3f9b1
--- /dev/null
+++ b/perl-Package-New.spec
@@ -0,0 +1,41 @@
+Name:           perl-Package-New
+Version:        0.07
+Release:        1%{?dist}
+Summary:        Simple base package from which to inherit
+License:        BSD
+URL:            http://search.cpan.org/dist/Package-New/
+Source0:        http://search.cpan.org/CPAN/authors/id/M/MR/MRDVT/Package-New-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::Simple) >= 0.44
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The Package::New object provides a consistent object constructor for
+objects.
+
+%prep
+%setup -q -n Package-New-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README Todo
+%license LICENSE
+%{perl_vendorlib}/Package/
+%{_mandir}/man3/*.3pm*
+
+%changelog
+* Fri Mar 20 2015 Tom Callaway <spot at fedoraproject.org> - 0.07-1
+- initial package
diff --git a/sources b/sources
index e69de29..07d1330 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+00805fd07f1c330b71b2e3d120a6ad55  Package-New-0.07.tar.gz


More information about the scm-commits mailing list