import perl-Crypt-OpenSSL-Random-0.17-2.el10

i10ce changed/i10ce/perl-Crypt-OpenSSL-Random-0.17-2.el10
Arkady L. Shane 2 weeks ago
parent 447b1d74f5
commit 697b07298a
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Crypt-OpenSSL-Random-0.15.tar.gz SOURCES/Crypt-OpenSSL-Random-0.17.tar.gz

@ -1 +1 @@
e32a198269a1e26a9615ac1132bf1ec7268fb378 SOURCES/Crypt-OpenSSL-Random-0.15.tar.gz 20ded281e882d3d8f24e365bc751d096c139fd9f SOURCES/Crypt-OpenSSL-Random-0.17.tar.gz

@ -1,29 +1,32 @@
Name: perl-Crypt-OpenSSL-Random Name: perl-Crypt-OpenSSL-Random
Version: 0.15 Version: 0.17
Release: 14%{?dist} Release: 2%{?dist}
Summary: OpenSSL/LibreSSL pseudo-random number generator access Summary: OpenSSL/LibreSSL pseudo-random number generator access
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Crypt-OpenSSL-Random URL: https://metacpan.org/release/Crypt-OpenSSL-Random
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: gcc
BuildRequires: openssl-devel
BuildRequires: make BuildRequires: make
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
# perl-podlators for pod2text not needed if Random.pm is older than README
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.11 BuildRequires: perl(Crypt::OpenSSL::Guess) >= 0.11
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Run-time:
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
# Tests:
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.00
%{?perl_default_filter} %{?perl_default_filter}
@ -31,45 +34,115 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Crypt::OpenSSL::Random provides the ability to seed and query the OpenSSL Crypt::OpenSSL::Random provides the ability to seed and query the OpenSSL
and LibreSSL library's pseudo-random number generators. and LibreSSL library's pseudo-random number generators.
%package tests
Summary: Tests for %{name}
BuildArch: noarch
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n Crypt-OpenSSL-Random-%{version} %setup -q -n Crypt-OpenSSL-Random-%{version}
# Remove author-only tests that are always skipped
for F in t/z_kwalitee.t t/z_manifest.t t/z_meta.t t/z_perl_minimum_version.t \
t/z_pod-coverage.t; do
rm "$F"
perl -i -ne 'print $_ unless m{^\E'"$F"'\Q}' MANIFEST
done;
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor unset AUTOMATED_TESTING
%make_build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install %install
rm -rf %{buildroot} %{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -o \
-name '*.bs' -empty \) -exec rm -f {} \;
find %{buildroot} -depth -type d -empty -exec rmdir {} \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
rm %{buildroot}%{_libexecdir}/%{name}/t/z_pod.t
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check %check
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test make test
%files %files
%{!?_licensedir:%global license %%doc}
%license LICENSE %license LICENSE
%doc Changes %doc Changes README
%{perl_vendorarch}/auto/* %dir %{perl_vendorarch}/auto/Crypt
%{perl_vendorarch}/Crypt/ %dir %{perl_vendorarch}/auto/Crypt/OpenSSL
%{_mandir}/man3/* %{perl_vendorarch}/auto/Crypt/OpenSSL/Random
%dir %{perl_vendorarch}/Crypt
%dir %{perl_vendorarch}/Crypt/OpenSSL
%{perl_vendorarch}/Crypt/OpenSSL/Random.pm
%{_mandir}/man3/Crypt::OpenSSL::Random.*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-14 * Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.17-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for MSVSphere 10
Related: rhbz#1991688
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 14 2024 Petr Pisar <ppisar@redhat.com> - 0.17-1
- 0.17 bump
* Mon Jun 10 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-2
- Perl 5.40 rebuild
* Fri May 17 2024 Petr Pisar <ppisar@redhat.com> - 0.16-1
- 0.16 bump
- Package the tests
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-20
- Perl 5.38 rebuild
* Wed Jun 07 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.15-19
- Update license to SPDX format
- Modernize spec
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-16
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.15-14
- Rebuilt with OpenSSL 3.0.0
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-13 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-13
- Rebuilt for RHEL 9 BETA for openssl 3.0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Related: rhbz#1971065
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.15-12 * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-11 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save