diff --git a/.cvsignore b/.cvsignore index e69de29..53ee40e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Hash-Merge-0.11.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..86561c6 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Hash-Merge-0_11-2_fc12:HEAD:perl-Hash-Merge-0.11-2.fc12.src.rpm:1246456380 diff --git a/perl-Hash-Merge.spec b/perl-Hash-Merge.spec new file mode 100644 index 0000000..36b4f57 --- /dev/null +++ b/perl-Hash-Merge.spec @@ -0,0 +1,52 @@ +Name: perl-Hash-Merge +Version: 0.11 +Release: 2%{?dist} +Summary: Merges arbitrary deep hashes into a single hash +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Hash-Merge/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/Hash-Merge-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: perl(Test::More), perl(Clone) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +%{summary}. + +%prep +%setup -q -n Hash-Merge-%{version} + +%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} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -x %{buildroot}%{perl_vendorlib}/Hash/Merge.pm +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Hash/ +%{_mandir}/man3/*.3* + + +%changelog +* Fri Jun 26 2009 Tom "spot" Callaway - 0.11-2 +- fix permissions (silence rpmlint too) +- own Hash/ directory + +* Fri Jun 26 2009 Tom "spot" Callaway - 0.11-1 +- initial package for Fedora diff --git a/sources b/sources index e69de29..79f9bbd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +280b520399a382ac70dfb64442402f85 Hash-Merge-0.11.tar.gz