%global _empty_manifest_terminate_build 0 Name: perl-Crypt-URandom Version: 0.40 Release: 1 Summary: Provide non blocking randomness License: GPL-1.0-or-later OR Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-URandom/ Source0: http://www.cpan.org/authors/id/D/DD/DDICK/Crypt-URandom-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(English) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(FileHandle) Requires: perl(Carp) Requires: perl(English) Requires: perl(FileHandle) %description This Module is intended to provide an interface to the strongest available source of non-blocking randomness on the current platform. Platforms currently supported are anything supporting /dev/urandom and versions of Windows greater than or equal to Windows 2000. %prep %setup -q -n Crypt-URandom-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" 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 %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/* %changelog * Wed Apr 10 2024 wangshuo <wangshuo@kylinos.cn> - 0.40-1 - Upgrade to version 0.40 - Moving `$OSNAME` checks to compile time with `GH#4` * Thu Jul 13 2023 leeffo <liweiganga@uniontech.com> - 0.39-1 - upgrade to version 0.39 * Sun May 23 2021 Perl_Bot <Perl_Bot@openeuler.org> 0.36-1 - Specfile autogenerated by Perl_Bot