Name: perl-Crypt-OpenSSL-DSA Version: 0.20 Release: 30%{?dist} Summary: Perl interface to OpenSSL for DSA License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Crypt-OpenSSL-DSA Source0: https://cpan.metacpan.org/authors/id/K/KM/KMX/Crypt-OpenSSL-DSA-%{version}.tar.gz # Make tests parallel-safe and runable from a read-only location, proposed to # the upstream, Patch0: Crypt-OpenSSL-DSA-0.20-Make-tests-parallel-safe.patch # Adapt tests to crypto-policies ≥ 20240717-1.git154fd4e that disabled SHA-1, # bug #2299171, proposed upstream Patch1: Crypt-OpenSSL-DSA-0.20-tests-Use-SHA-512-instead-of-SHA-1.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: pkgconf-pkg-config BuildRequires: pkgconfig(libcrypto) # Run-time: BuildRequires: perl(DynaLoader) BuildRequires: perl(vars) # Tests: BuildRequires: perl(File::Temp) >= 0.14 BuildRequires: perl(Test) # Optional tests: BuildRequires: openssl BuildRequires: perl(Digest::SHA) >= 5.60 %description Crypt::OpenSSL::DSA provides an access to Digital Signature Algorithm implementation in OpenSSL library. %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: openssl Requires: perl-Test-Harness Requires: perl(Digest::SHA) >= 5.60 %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %autosetup -p1 -n Crypt-OpenSSL-DSA-%{version} %build unset OPENSSL_LIB OPENSSL_PREFIX perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -size 0 -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a t %{buildroot}%{_libexecdir}/%{name} 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 export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') make test %files %doc Changes README %dir %{perl_vendorarch}/auto/Crypt %dir %{perl_vendorarch}/auto/Crypt/OpenSSL %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA %dir %{perl_vendorarch}/Crypt %dir %{perl_vendorarch}/Crypt/OpenSSL %{perl_vendorarch}/Crypt/OpenSSL/DSA %{perl_vendorarch}/Crypt/OpenSSL/DSA.pm %{_mandir}/man3/Crypt::OpenSSL::DSA.* %{_mandir}/man3/Crypt::OpenSSL::DSA::* %files tests %{_libexecdir}/%{name} %changelog * Mon Jul 22 2024 Petr Pisar - 0.20-30 - Adapt tests to crypto-policies ≥ 20240717-1.git154fd4e that disabled SHA-1 (bug #2299171) * Thu Jul 18 2024 Fedora Release Engineering - 0.20-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 10 2024 Jitka Plesnikova - 0.20-28 - Perl 5.40 rebuild * Mon May 20 2024 Petr Pisar - 0.20-27 - Convert a license tag to SPDX - Package the tests * Thu Jan 25 2024 Fedora Release Engineering - 0.20-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.20-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.20-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.20-23 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.20-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.20-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.20-20 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.20-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 0.20-18 - Rebuilt with OpenSSL 3.0.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.20-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.20-16 - Perl 5.34 rebuild * Mon Mar 22 2021 Wes Hardaker - 0.20-01 - version bump * Wed Jan 27 2021 Fedora Release Engineering - 0.19-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.19-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.19-13 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.19-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.19-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.19-10 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.19-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.19-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.19-7 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.19-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.19-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 31 2017 Jitka Plesnikova - 0.19-1 - 0.19 bump * Fri Dec 09 2016 Jitka Plesnikova - 0.18-1 - 0.18 bump * Tue Nov 01 2016 Petr Pisar - 0.15-7 - Restore support for setting private key before public key (bug #1383651) * Thu Oct 27 2016 Petr Pisar - 0.15-6 - Adapt to OpenSSL 1.1.0 (bug #1383651) * Sat May 14 2016 Jitka Plesnikova - 0.15-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.15-2 - Perl 5.22 rebuild * Tue Feb 17 2015 Wes Hardaker - 0.15-1 - Update to 0.15 * Thu Aug 28 2014 Jitka Plesnikova - 0.14-7 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.14-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.14-3 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Oct 17 2012 Wes Hardaker - 0.14-1 - Update to upstream 0.14 for bug fixes * Fri Jul 20 2012 Fedora Release Engineering - 0.13-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 11 2012 Petr Pisar - 0.13-21 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.13-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Jun 19 2011 Marcela Mašláňová - 0.13-19 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.13-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.13-17 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 0.13-16 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal - 0.13-15 - rebuild against perl 5.10.1 * Mon Aug 31 2009 Stepan Kasal - 0.13-14 - re-enable tests * Fri Aug 28 2009 Stepan Kasal - 0.13-13 - disable tests to work around bug #520152 * Fri Aug 21 2009 Tomas Mraz - 0.13-12 - rebuilt with new openssl * Sat Jul 25 2009 Fedora Release Engineering - 0.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.13-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 18 2009 Wes Hardaker - 0.13-9 - Fix CVE-2009-0129 and have do_verify croak on fatal error * Sat Jan 17 2009 Tomas Mraz - 0.13-8 - rebuild with new openssl * Wed Mar 5 2008 Tom "spot" Callaway - 0.13-7 - rebuild for new perl * Mon Feb 18 2008 Fedora Release Engineering - 0.13-6 - Autorebuild for GCC 4.3 * Wed Dec 05 2007 Release Engineering - 0.13-5 - Rebuild for deps * Wed Aug 29 2007 Fedora Release Engineering - 0.13-4 - Rebuild for selinux ppc32 issue. * Mon May 14 2007 Wes Hardaker - 0.13-3 - BuildRequire perl(Test) perl(ExtUtils::MakeMaker) perl(Digest::SHA1) and perl(File::Temp) - Fixed source code URL * Tue May 8 2007 Wes Hardaker - 0.13-2 - Add BuildRequire openssl-devel - Don't manually require openssl - Use vendorarch instead of vendorlib * Thu Apr 19 2007 Wes Hardaker - 0.13-1 - Initial version