Name: perl-Digest-SHA3 Version: 1.05 Release: 2%{?dist} Summary: Perl extension for SHA-3 License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Digest-SHA3 Source0: https://cpan.metacpan.org/modules/by-module/Digest/Digest-SHA3-%{version}.tar.gz # Build 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(Getopt::Std) BuildRequires: perl(strict) BuildRequires: perl(vars) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(Digest::base) BuildRequires: perl(Exporter) BuildRequires: perl(Fcntl) BuildRequires: perl(integer) BuildRequires: perl(warnings) BuildRequires: perl(XSLoader) # Tests BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 0.08 Requires: perl(Carp) Requires: perl(Digest::base) Requires: perl(XSLoader) %description Digest::SHA3 is written in C for speed. If your platform lacks a C compiler, perhaps you can find the module in a binary form compatible with your particular processor and operating system. %package tests Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n Digest-SHA3-%{version} perl -MConfig -pi -e 's|^#!.*perl|$Config{startperl}|' examples/dups3 chmod -c -x examples/dups3 # Help generators to recognize Perl scripts for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" chmod +x "$F" done %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 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} rm %{buildroot}%{_libexecdir}/%{name}/t/pod*.t cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . -r -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 examples %{perl_vendorarch}/auto/* %{perl_vendorarch}/Digest* %{_mandir}/man3/* %files tests %{_libexecdir}/%{name} %package -n sha3sum Summary: Compute and check SHA3 message digest BuildArch: noarch Requires: perl(Digest::SHA3) %description -n sha3sum This script will compute and check the SHA3 message digest of a file %files -n sha3sum %doc README %{_mandir}/man1/* %{_bindir}/* %changelog * Fri Jan 20 2023 Fedora Release Engineering - 1.05-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 09 2022 Jitka Plesnikova - 1.05-1 - 1.05 bump - Package tests * Fri Jul 22 2022 Fedora Release Engineering - 1.04-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 1.04-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.04-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 03 2022 Jitka Plesnikova - 1.04-13 - Use make_* macros * Thu Jul 22 2021 Fedora Release Engineering - 1.04-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.04-11 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.04-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.04-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.04-8 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.04-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.04-5 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.04-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.04-2 - Perl 5.28 rebuild * Wed May 02 2018 Jitka Plesnikova - 1.04-1 - 1.04 bump * Thu Feb 08 2018 Fedora Release Engineering - 1.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 03 2018 Jitka Plesnikova - 1.03-1 - 1.03 bump * Tue Dec 19 2017 Jitka Plesnikova - 1.02-1 - 1.02 bump * Tue Oct 24 2017 Jitka Plesnikova - 1.01-1 - 1.01 bump * Tue Oct 17 2017 Jitka Plesnikova - 1.00-1 - 1.00 bump * Tue Oct 10 2017 Jitka Plesnikova - 0.27-1 - 0.27 bump * Thu Aug 03 2017 Fedora Release Engineering - 0.25-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.25-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.25-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Oct 04 2016 Jitka Plesnikova - 0.25-1 - 0.25 bump * Sun May 15 2016 Jitka Plesnikova - 0.24-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.24-2 - Perl 5.22 rebuild * Wed Jan 14 2015 David Dick - 0.24-1 - Updated to 0.24 * Wed Aug 27 2014 David Dick - 0.22-1 - Initial release