Name: perl-Digest-HMAC Version: 1.04 Release: 6%{?dist} Summary: Keyed-Hashing for Message Authentication License: GPL+ or Artistic URL: https://metacpan.org/release/Digest-HMAC Source0: https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/Digest-HMAC-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(:VERSION) >= 5.4 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Digest::MD5) >= 2 BuildRequires: perl(Digest::SHA) >= 1 BuildRequires: perl(Exporter) BuildRequires: perl(vars) # Tests: # Config not used on Linux Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Digest::MD5) >= 2 Requires: perl(Digest::SHA) >= 1 # Remove under-specified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Digest::(MD5|SHA)\\)$ %description HMAC is used for message integrity checks between two parties that share a secret key, and works in combination with some other Digest algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104. HMAC follow the common Digest:: interface, but the constructor takes the secret key and the name of some other simple Digest:: as argument. %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-HMAC-%{version} # Help file to recognise the 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 NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor %{make_build} %install %{make_install} %{_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 %license LICENSE %doc Changes README %{perl_vendorlib}/Digest/ %{_mandir}/man3/*.3* %files tests %{_libexecdir}/%{name} %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.04-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.04-5 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.04-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.04-2 - Perl 5.34 rebuild * Tue Apr 06 2021 Jitka Plesnikova - 1.04-1 - 1.04 bump - Package tests * Wed Jan 27 2021 Fedora Release Engineering - 1.03-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.03-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.03-25 - Perl 5.32 rebuild * Fri Feb 14 2020 Petr Pisar - 1.03-24 - Modernize a spec file * Wed Jan 29 2020 Fedora Release Engineering - 1.03-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.03-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.03-21 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.03-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.03-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.03-18 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.03-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.03-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.03-15 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.03-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 1.03-13 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.03-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.03-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 04 2015 Jitka Plesnikova - 1.03-10 - Perl 5.22 rebuild * Wed Aug 27 2014 Jitka Plesnikova - 1.03-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.03-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.03-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Jul 18 2013 Petr Pisar - 1.03-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.03-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Jun 12 2012 Petr Pisar - 1.03-3 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Sep 22 2011 Marcela Mašláňová 1.03-1 - update to 1.03 * Sun Jun 19 2011 Marcela Mašláňová - 1.02-6 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.02-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 1.02-4 - 661697 rebuild for fixing problems with vendorach/lib * Sat May 01 2010 Marcela Maslanova - 1.02-3 - Mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova - 1.02-2 - Mass rebuild with perl-5.12.0 * Tue Apr 20 2010 Petr Pisar - 1.02-1 - version bump - rfc2104.txt removed by upstream * Mon Dec 7 2009 Stepan Kasal - 1.01-22 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.01-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.01-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 27 2008 Tom "spot" Callaway - 1.01-19 - Rebuild for perl 5.10 (again) * Sun Jan 20 2008 Tom "spot" Callaway - 1.01-18 - rebuild for new perl * Wed Oct 24 2007 Robin Norwood - 1.01-17 - fix various issues from package review * Mon Aug 27 2007 Robin Norwood - 1.01-16 - Fix license tag - add %%doc section - Add BuildRequire: perl(ExtUtils::MakeMaker) * Fri Jul 14 2006 Jesse Keating - 1.01-15 - rebuild for new perl-5.8.8 * Fri Feb 03 2006 Jason Vas Dias - 1.01-14.2 - rebuild for new perl-5.8.8 * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcc * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Mon Apr 25 2005 Jose Pedro Oliveira - 1.01-14 - Bring up to date with current Fedora.Extras perl spec template. (#155912) * Wed Sep 22 2004 Chip Turner 1.01-13 - rebuild * Fri Apr 23 2004 Chip Turner 1.01-12 - bump * Mon Jan 27 2003 Chip Turner - version bump and rebuild * Tue Aug 6 2002 Chip Turner - automated release bump and build * Thu Jun 27 2002 Chip Turner - description update * Wed Jun 26 2002 cturner@redhat.com - Specfile autogenerated