diff --git a/openssl-0.9.22-fix-metadata.diff b/openssl-0.9.22-fix-metadata.diff index bb5c2d8..001458e 100644 --- a/openssl-0.9.22-fix-metadata.diff +++ b/openssl-0.9.22-fix-metadata.diff @@ -1,5 +1,14 @@ --- openssl-0.9.22/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ openssl-0.9.22/Cargo.toml 2017-11-30T17:44:07.117474+01:00 ++++ openssl-0.9.22/Cargo.toml 2017-11-30T18:18:29.700773+01:00 +@@ -30,7 +30,7 @@ + version = "0.3.1" + + [dependencies.lazy_static] +-version = "0.2" ++version = "1" + + [dependencies.libc] + version = "0.2" @@ -46,12 +46,6 @@ [dev-dependencies.tempdir] version = "0.3" diff --git a/rust-openssl.spec b/rust-openssl.spec index 1b20fec..31fdd17 100644 --- a/rust-openssl.spec +++ b/rust-openssl.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.9.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OpenSSL bindings License: ASL 2.0 @@ -15,6 +15,7 @@ URL: https://crates.io/crates/openssl Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows +# * Bump lazy_static to 1, https://github.com/sfackler/rust-openssl/pull/783 Patch0: openssl-0.9.22-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -23,7 +24,7 @@ BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(bitflags) >= 0.9.0 with crate(bitflags) < 0.10.0) BuildRequires: (crate(foreign-types) >= 0.3.1 with crate(foreign-types) < 0.4.0) -BuildRequires: (crate(lazy_static) >= 0.2.0 with crate(lazy_static) < 0.3.0) +BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) BuildRequires: (crate(openssl-sys) >= 0.9.22 with crate(openssl-sys) < 0.10.0) %if %{with check} @@ -67,6 +68,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Nov 30 2017 Igor Gnatenko - 0.9.22-2 +- Bump lazy_static to 1 + * Thu Nov 30 2017 Igor Gnatenko - 0.9.22-1 - Update to 0.9.22