This commit is contained in:
Tom Callaway 2019-11-05 13:44:37 -05:00
parent 1d88cda134
commit 141239c1ee
3 changed files with 26 additions and 22 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/digest_0.6.8.tar.gz
/digest_0.6.12.tar.gz
/digest_0.6.15.tar.gz
/digest_0.6.22.tar.gz

View File

@ -1,34 +1,33 @@
%global packname digest
%global packver 0.6.15
%global packver 0.6.22
Name: R-%{packname}
Version: %{packver}
Release: 6%{?dist}
Release: 1%{?dist}
Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz
License: GPLv2 and BSD and MIT and zlib
License: GPLv2+ and BSD and MIT and zlib
URL: http://cran.r-project.org/web/packages/digest/index.html
Summary: Create Cryptographic Hash Digest of R Objects
BuildRequires: R-devel >= 3.4.0, tetex-latex
# Test requires:
# Not in Fedora yet.
# BuildRequires: R-rmarkdown, R-knitr
BuildRequires: R-rmarkdown, R-knitr, R-tinytest
Provides: bundled(xxhash)
%description
Implementation of a function 'digest()' for the creation of hash digests of
arbitrary R objects (using the md5, sha-1, sha-256, crc32, xxhash and
murmurhash algorithms) permitting easy comparison of R language objects, as
well as a function 'hmac()' to create hash-based message authentication code.
The md5 algorithm by Ron Rivest is specified in RFC 1321, the sha-1 and
sha-256 algorithms are specified in FIPS-180-1 and FIPS-180-2, and the crc32
algorithm is described in
ftp://ftp.rocksoft.com/cliens/rocksoft/papers/crc_v3.txt. For md5, sha-1,
sha-256 and aes, this package uses small standalone implementations that were
provided by Christophe Devine. For crc32, code from the zlib library is used.
For sha-512, an implementation by Aaron D. Gifford is used. For xxHash, the
implementation by Yann Collet is used. For murmurhash, an implementation by
Shane Day is used. Please note that this package is not meant to be deployed
for cryptographic purposes for which more comprehensive (and widely tested)
Implementation of a function 'digest()' for the creation of hash digests of
arbitrary R objects (using the md5, sha-1, sha-256, crc32, xxhash and
murmurhash algorithms) permitting easy comparison of R language objects, as
well as a function 'hmac()' to create hash-based message authentication code.
The md5 algorithm by Ron Rivest is specified in RFC 1321, the sha-1 and
sha-256 algorithms are specified in FIPS-180-1 and FIPS-180-2, and the crc32
algorithm is described in
ftp://ftp.rocksoft.com/cliens/rocksoft/papers/crc_v3.txt. For md5, sha-1,
sha-256 and aes, this package uses small standalone implementations that were
provided by Christophe Devine. For crc32, code from the zlib library is used.
For sha-512, an implementation by Aaron D. Gifford is used. For xxHash, the
implementation by Yann Collet is used. For murmurhash, an implementation by
Shane Day is used. Please note that this package is not meant to be deployed
for cryptographic purposes for which more comprehensive (and widely tested)
libraries such as OpenSSL should be used.
%package devel
@ -50,8 +49,7 @@ test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
%check
# disable test due to missing deps
# %{_bindir}/R CMD check %{packname}
%{_bindir}/R CMD check %{packname}
%files
%license %{_libdir}/R/library/%{packname}/GPL-2
@ -65,11 +63,16 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/R/library/R.css
%{_libdir}/R/library/%{packname}/doc/
%{_libdir}/R/library/%{packname}/help
%{_libdir}/R/library/%{packname}/libs/
%{_libdir}/R/library/%{packname}/demo
%{_libdir}/R/library/%{packname}/tinytest
%files devel
%{_libdir}/R/library/%{packname}/include/
%changelog
* Tue Nov 5 2019 Tom Callaway <spot@fedoraproject.org> - 0.6.22-1
- update to 0.6.22
* Mon Aug 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.15-6
- Remove explicit dependencies provided by automatic dependency generator

View File

@ -1 +1 @@
SHA512 (digest_0.6.15.tar.gz) = 632f5396e900379e3a2c70a4731fd150a36cbb1f426cbcbbdf5483853c431fe3a499ca7ad600411b520e620cc2f048b389346c5c083a205276a42a0e80c5a190
SHA512 (digest_0.6.22.tar.gz) = 8b538dcbe7b7c4907986cd45bb37de17c179c909e0e2db9ad3cad125a81ecc86bc79a0314a7ab5a88180955995ab214d734a4c38fe384700159e50fb720eb028