|
|
@ -1,25 +1,24 @@
|
|
|
|
Name: perl-Digest
|
|
|
|
Name: perl-Digest
|
|
|
|
Version: 1.19
|
|
|
|
Version: 1.17
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 395%{?dist}
|
|
|
|
Summary: Modules that calculate message digests
|
|
|
|
Summary: Modules that calculate message digests
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Digest
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Digest-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Digest/
|
|
|
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Digest-%{version}.tar.gz
|
|
|
|
|
|
|
|
# Avoid loading optional modules from default . (CVE-2016-1238)
|
|
|
|
|
|
|
|
Patch0: Digest-0.17-CVE-2016-1238-prevent-loading-optional-modules-from-.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Run-time:
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
# Tests only:
|
|
|
|
# Tests only:
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
@ -27,20 +26,24 @@ Requires: perl(MIME::Base64)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The Digest:: modules calculate digests, also called "fingerprints" or
|
|
|
|
The Digest:: modules calculate digests, also called "fingerprints" or
|
|
|
|
"hashes", of some data, called a message. The digest is (usually) some
|
|
|
|
"hashes", of some data, called a message. The digest is (usually)
|
|
|
|
small/fixed size string. The actual size of the digest depends of the
|
|
|
|
some small/fixed size string. The actual size of the digest depend of
|
|
|
|
algorithm used. The message is simply a sequence of arbitrary bytes or bits.
|
|
|
|
the algorithm used. The message is simply a sequence of arbitrary
|
|
|
|
|
|
|
|
bytes or bits.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Digest-%{version}
|
|
|
|
%setup -q -n Digest-%{version}
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
chmod -x digest-bench
|
|
|
|
chmod -x digest-bench
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
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/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -52,42 +55,8 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.19-4
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.17-395
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.19-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 14 2020 Petr Pisar <ppisar@redhat.com> - 1.19-1
|
|
|
|
|
|
|
|
- 1.19 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-457
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-456
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-440
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-439
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-438
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-418
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-417
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-416
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-395
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-395
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|