[perl-MooX-HasEnv] Initial import (#1128145).

David Dick ddick at fedoraproject.org
Mon Aug 11 20:43:13 UTC 2014


commit 9802ed5274bd70e5162f94e1965f695a918f42d7
Author: David Dick <ddick at cpan.org>
Date:   Tue Aug 12 06:43:08 2014 +1000

    Initial import (#1128145).

 .gitignore            |    1 +
 perl-MooX-HasEnv.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..38e5e66 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooX-HasEnv-0.004.tar.gz
diff --git a/perl-MooX-HasEnv.spec b/perl-MooX-HasEnv.spec
new file mode 100644
index 0000000..4f92cb9
--- /dev/null
+++ b/perl-MooX-HasEnv.spec
@@ -0,0 +1,55 @@
+Name:           perl-MooX-HasEnv
+Version:        0.004
+Release:        1%{?dist}
+Summary:        Making attributes based on ENV variables
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/MooX-HasEnv/
+Source0:        http://www.cpan.org/modules/by-module/MooX/MooX-HasEnv-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Moo) >= 0.009014
+BuildRequires:  perl(Package::Stash) >= 0.33
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::LoadAllModules) >= 0.021
+BuildRequires:  perl(Test::More) >= 0.98
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(warnings)
+Requires:       perl(Moo) >= 0.009014
+Requires:       perl(Package::Stash) >= 0.33
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Moo\\)$
+%global __requires_exclude %__requires_exclude|^perl\\(Package::Stash\\)$
+%description
+This package allows the making of attributes based on ENV variables.
+
+%prep
+%setup -q -n MooX-HasEnv-%{version}
+
+%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 {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+RELEASE_TESTING=1 make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Aug 08 2014 David Dick <ddick at cpan.org> - 0.004-1
+- Initial release
diff --git a/sources b/sources
index e69de29..281c10f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1e843a60fb4746125dbf9f54f982a593  MooX-HasEnv-0.004.tar.gz


More information about the scm-commits mailing list