rpms/perl-Hash-Merge-Simple/F-10 import.log, NONE, 1.1 perl-Hash-Merge-Simple.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Sat Mar 7 20:56:02 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-Hash-Merge-Simple/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12257/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Hash-Merge-Simple.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-Hash-Merge-Simple-0_04-1_fc10:F-10:perl-Hash-Merge-Simple-0.04-1.fc10.src.rpm:1236459321


--- NEW FILE perl-Hash-Merge-Simple.spec ---
Name:       perl-Hash-Merge-Simple 
Version:    0.04 
Release:    1%{?dist}
# lib/Hash/Merge/Simple.pm -> GPL+ or Artistic
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Recursively merge two or more hashes, simply 
Source:     http://search.cpan.org/CPAN/authors/id/R/RK/RKRIMEN/Hash-Merge-Simple-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/Hash-Merge-Simple
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More)

%description
Hash::Merge::Simple will recursively merge two or more hashes and return
the result as a new hash reference. The merge function will descend and
merge hashes that exist under the same node in both the left and right
hash, but doesn't attempt to combine arrays, objects, scalars, or
anything else. The rightmost hash also takes precedence, replacing
whatever was in the left hash if a conflict occurs. This code was pretty
much taken straight from Catalyst::Utils, and modified to handle more 
than 2 hashes at the same time.

%prep
%setup -q -n Hash-Merge-Simple-%{version}

perl -pi -e 's/Test::Most/Test::More/g' `find . -type f`

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

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 ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Thu Mar 05 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.04-1
- submission

* Thu Mar 05 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.04-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Hash-Merge-Simple/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Mar 2009 17:34:00 -0000	1.1
+++ .cvsignore	7 Mar 2009 20:55:31 -0000	1.2
@@ -0,0 +1 @@
+Hash-Merge-Simple-0.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Hash-Merge-Simple/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Mar 2009 17:34:00 -0000	1.1
+++ sources	7 Mar 2009 20:55:31 -0000	1.2
@@ -0,0 +1 @@
+977b6f679977e720ea70cef6acd00b47  Hash-Merge-Simple-0.04.tar.gz




More information about the fedora-extras-commits mailing list