eseyman pushed to perl-Hash-Layout (f22). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Jul 17 11:57:00 UTC 2015


From e555c5dca6a5182fc74a11f575f3669d9e6a9c28 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Fri, 17 Jul 2015 13:26:15 +0200
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..d2d9841 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Hash-Layout-1.02.tar.gz
diff --git a/perl-Hash-Layout.spec b/perl-Hash-Layout.spec
new file mode 100644
index 0000000..9b9b280
--- /dev/null
+++ b/perl-Hash-Layout.spec
@@ -0,0 +1,64 @@
+Name:           perl-Hash-Layout
+Version:        1.02
+Release:        2%{?dist}
+Summary:        Hashes with predefined levels, composite keys and default values
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Hash-Layout/
+Source0:        http://www.cpan.org/authors/id/V/VA/VANSTYN/Hash-Layout-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Clone)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(Hash::Merge::Simple)
+BuildRequires:  perl(Moo)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Types::Standard)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Hash::Layout provides deep hashes with a predefined number of levels which
+you can access using special "composite keys". These are essentially string
+paths that inflate into actual hash keys according to the defined levels
+and delimiter mappings, which can be the same or different for each level.
+This is useful both for shorter keys as well as merge/fallback to default
+values, such as when defining overlapping configs ranging from broad to
+narrowing scope.
+
+%prep
+%setup -q -n Hash-Layout-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+RELEASE_TESTING=1 make test
+
+%files
+%doc Changes README README.md
+%license LICENSE
+%{perl_vendorlib}/Hash*
+%{_mandir}/man3/Hash*
+
+%changelog
+* Tue Jul 14 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.02-2
+- Take into account review comments (#1242663)
+
+* Sat Jul 11 2015 Emmanuel Seyman <emmanuel at seyman.fr> 1.02-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b87810c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+98fe2e95bbbc8018faa6d8fa758947f3  Hash-Layout-1.02.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Hash-Layout.git/commit/?h=f22&id=e555c5dca6a5182fc74a11f575f3669d9e6a9c28


More information about the perl-devel mailing list