Blob Blame History Raw
%global __provides_exclude ^perl\\(Judy\\)$

Name:		perl-Judy
Version:	0.41
Release:	6%{?dist}
Summary:	Library for creating and accessing dynamic arrays
License:	GPL+ or Artistic
Group:		Development/Libraries
URL:		http://search.cpan.org/dist/Judy/
Source0:	http://search.cpan.org/CPAN/authors/id/J/JJ/JJORE/Judy-%{version}.tar.gz
Patch0:		avoid-using-alien-judy.patch
BuildRequires:	perl
BuildRequires:	perl-devel
BuildRequires:	perl-generators
BuildRequires:	Judy-devel
BuildRequires:	perl(Config)
BuildRequires:	perl(File::Spec)
BuildRequires:	perl(Module::Build)
BuildRequires:	perl(Sub::Exporter)
BuildRequires:	perl(Test::Deep)
BuildRequires:	perl(Test::More)
BuildRequires:	perl(base)
BuildRequires:	perl(blib)
BuildRequires:	perl(constant)
BuildRequires:	perl(Cwd)
BuildRequires:	perl(Data::Dumper)
BuildRequires:	perl(DynaLoader)
BuildRequires:	perl(File::Basename)
BuildRequires:	perl(File::Copy)
BuildRequires:	perl(strict)
BuildRequires:	perl(vars)
BuildRequires:	perl(warnings)
BuildRequires:	coreutils
BuildRequires:	findutils

Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides:	perl(Judy::_tie)
Provides:	perl(Judy::1::_impl)
Provides:	perl(Judy::1::_obj)
Provides:	perl(Judy::1::_tie)
Provides:	perl(Judy::HS::_impl)
Provides:	perl(Judy::HS::_obj)
Provides:	perl(Judy::HS::_tie)
Provides:	perl(Judy::L::_impl)
Provides:	perl(Judy::L::_obj)
Provides:	perl(Judy::L::_tie)
Provides:	perl(Judy::Mem::_impl)
Provides:	perl(Judy::SL::_dump)
Provides:	perl(Judy::SL::_impl)
Provides:	perl(Judy::SL::_obj)
Provides:	perl(Judy::SL::_tie)

%description
The Judy family of functions supports fully dynamic arrays. These arrays
may be indexed by a 32- or 64-bit word (depending on processor word size)
(Judy::1, Judy::L), a null terminated string (Judy::SL), or an ordinary
perl string (Judy::HS).

%prep
%setup -q -n Judy-%{version}
%patch0 -p1

%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
./Build

%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
./Build test

%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Judy*
%{_mandir}/man3/*

%changelog
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-6
- Perl 5.24 rebuild

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Dec 2 2015 Jan Holcapek <holcapek@gmail.com> 0.41-4
- Bumped release to push an update (#751119)

* Wed Sep 16 2015 Jan Holcapek <holcapek@gmail.com> 0.41-3
- Fixed build deps (#751119)

* Sat Sep 05 2015 Jan Holcapek <holcapek@gmail.com> 0.41-2
- Applied review comments (#751119)

* Fri Nov 08 2013 Jan Holcapek <holcapek@gmail.com> 0.41-1
- Specfile autogenerated by cpanspec 1.78.