Name: perl-Bytes-Random-Secure Version: 0.29 Release: 1%{?dist} Summary: Perl extension to generate cryptographically-secure random bytes License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Bytes-Random-Secure/ Source0: http://www.cpan.org/authors/id/D/DA/DAVIDO/Bytes-Random-Secure-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006000 BuildRequires: perl(Carp) BuildRequires: perl(Crypt::Random::Seed) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Math::Random::ISAAC) BuildRequires: perl(Scalar::Util) >= 1.21 #BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Test::More) Requires: perl(Carp) Requires: perl(Crypt::Random::Seed) Requires: perl(Math::Random::ISAAC) Requires: perl(Scalar::Util) >= 1.21 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Bytes::Random::Secure provides two interfaces for obtaining crypto-quality random bytes. The simple interface is built around plain functions. For greater control over the Random Number Generator's seeding, there is an Object Oriented interface that provides much more flexibility. %prep %setup -q -n Bytes-Random-Secure-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Oct 08 2018 Daniel Berteaud - 0.29-1 - First build, using cpanspec