update to version 1.0.2

epel9
Fabio Valentini 4 years ago
parent a22c555583
commit e5984bd3fa
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/adler-0.2.3.crate /adler-0.2.3.crate
/adler-1.0.1.crate /adler-1.0.1.crate
/adler-1.0.2.crate

@ -1,15 +0,0 @@
diff --git a/src/lib.rs b/src/lib.rs
index 154426b..ff9d4fe 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -70,7 +70,10 @@ use std::io::{self, BufRead};
/// let data = Data { byte: 0x1F, word: 0xABCD, big: !0 };
/// data.hash(&mut adler);
///
+/// #[cfg(target_endian = "little")]
/// assert_eq!(adler.checksum(), 0x33410990);
+/// #[cfg(target_endian = "big")]
+/// assert_eq!(adler.checksum(), 0x331F0990);
/// ```
///
/// [`new`]: #method.new

@ -5,8 +5,8 @@
%global crate adler %global crate adler
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.0.1 Version: 1.0.2
Release: 2%{?dist} Release: 1%{?dist}
Summary: Simple clean-room implementation of the Adler-32 checksum Summary: Simple clean-room implementation of the Adler-32 checksum
# Upstream license specification: 0BSD OR MIT OR Apache-2.0 # Upstream license specification: 0BSD OR MIT OR Apache-2.0
@ -14,10 +14,6 @@ License: 0BSD or MIT or ASL 2.0
URL: https://crates.io/crates/adler URL: https://crates.io/crates/adler
Source: %{crates_source} Source: %{crates_source}
# https://github.com/jonas-schievink/adler/issues/8
# patch a doc test that depends on byte order
Patch1: 0001-fix-endianness-in-doctests.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
BuildArch: noarch BuildArch: noarch
@ -87,6 +83,10 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Fri Mar 26 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.2-1
- Update to version 1.0.2.
- Fixes RHBZ#1933270
* Thu Feb 25 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.1-2 * Thu Feb 25 2021 Fabio Valentini <decathorpe@gmail.com> - 1.0.1-2
- Patch a doc test that depends on byte order. - Patch a doc test that depends on byte order.

@ -1 +1 @@
SHA512 (adler-1.0.1.crate) = 946c79476eb855ff10213180b709cde6c890361c446e0226c38f557115dabd5f7f98e23f6ad1d358401908163f2294bb4b5b0aa1882cfdca138d669dde1720c8 SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1

Loading…
Cancel
Save