diff --git a/base64-0.9.2-fix-metadata.diff b/base64-0.9.2-fix-metadata.diff new file mode 100644 index 0000000..fa70f32 --- /dev/null +++ b/base64-0.9.2-fix-metadata.diff @@ -0,0 +1,10 @@ +--- base64-0.9.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ base64-0.9.2/Cargo.toml 2018-06-16T02:55:57.004204+02:00 +@@ -27,6 +27,6 @@ + version = "1.1.0" + + [dependencies.safemem] +-version = "0.2.0" ++version = "0.3" + [dev-dependencies.rand] + version = "0.4" diff --git a/rust-base64.spec b/rust-base64.spec index 1130bee..c421423 100644 --- a/rust-base64.spec +++ b/rust-base64.spec @@ -6,19 +6,22 @@ Name: rust-%{crate} Version: 0.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Encodes ands decode base64 as bytes or utf8 License: MIT or ASL 2.0 URL: https://crates.io/crates/base64 Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump safemem to 0.3, https://github.com/alicemaz/rust-base64/pull/63 +Patch0: base64-0.9.2-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(byteorder) >= 1.1.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(safemem) >= 0.2.0 with crate(safemem) < 0.3.0) +BuildRequires: (crate(safemem) >= 0.3.0 with crate(safemem) < 0.4.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) @@ -58,6 +61,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Jun 16 2018 Igor Gnatenko - 0.9.2-2 +- Bump safemem to 0.3 + * Tue Jun 05 2018 Josh Stone - 0.9.2-1 - Update to 0.9.2