Allisson Azevedo 11c1c1b
Name:           perl-Tie-RefHash-Weak
Allisson Azevedo 11c1c1b
Version:        0.09
494fc15
Release:        7%{?dist}
Allisson Azevedo 11c1c1b
Summary:        Tie::RefHash subclass with weakened references in the keys
Allisson Azevedo 11c1c1b
License:        GPL+ or Artistic)
Allisson Azevedo 11c1c1b
Group:          Development/Libraries
Allisson Azevedo 11c1c1b
URL:            http://search.cpan.org/dist/Tie-RefHash-Weak/
Allisson Azevedo 11c1c1b
Source0:        http://www.cpan.org/authors/id/N/NU/NUFFIN/Tie-RefHash-Weak-%{version}.tar.gz
Allisson Azevedo 11c1c1b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Allisson Azevedo 11c1c1b
BuildArch:      noarch
Allisson Azevedo 11c1c1b
BuildRequires:  perl(ExtUtils::MakeMaker)
Allisson Azevedo 11c1c1b
BuildRequires:  perl(Task::Weaken)
Allisson Azevedo 11c1c1b
BuildRequires:  perl(Variable::Magic)
Allisson Azevedo 11c1c1b
BuildRequires:  perl(Test::More)
Allisson Azevedo 11c1c1b
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%description
Allisson Azevedo 11c1c1b
The Tie::RefHash module can be used to access hashes by reference. This is
Allisson Azevedo 11c1c1b
useful when you index by object, for example.
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%prep
Allisson Azevedo 11c1c1b
%setup -q -n Tie-RefHash-Weak-%{version}
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%build
Allisson Azevedo 11c1c1b
%{__perl} Makefile.PL INSTALLDIRS=vendor
Allisson Azevedo 11c1c1b
make %{?_smp_mflags}
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%install
Allisson Azevedo 11c1c1b
rm -rf $RPM_BUILD_ROOT
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
Allisson Azevedo 11c1c1b
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%{_fixperms} $RPM_BUILD_ROOT/*
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%check
Allisson Azevedo 11c1c1b
make test
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%clean
Allisson Azevedo 11c1c1b
rm -rf $RPM_BUILD_ROOT
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%files
Allisson Azevedo 11c1c1b
%defattr(-,root,root,-)
Allisson Azevedo 11c1c1b
%doc Changes TODO
Allisson Azevedo 11c1c1b
%{perl_vendorlib}/*
Allisson Azevedo 11c1c1b
%{_mandir}/man3/*
Allisson Azevedo 11c1c1b
Allisson Azevedo 11c1c1b
%changelog
494fc15
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-7
494fc15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
494fc15
f3be4fd
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-6
f3be4fd
- 661697 rebuild for fixing problems with vendorach/lib
f3be4fd
7ced94b
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-5
7ced94b
- Mass rebuild with perl-5.12.0
7ced94b
078505d
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.09-4
078505d
- rebuild against perl 5.10.1
078505d
cbb48f5
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
cbb48f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cbb48f5
2d79e36
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2
2d79e36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2d79e36
Allisson Azevedo 11c1c1b
* Thu Feb 05 2009 Allisson Azevedo <allisson@gmail.com> 0.09-1
Allisson Azevedo 11c1c1b
- Initial rpm release.