diff --git a/pkg-config-0.3.9-fix-metadata.diff b/pkg-config-0.3.9-fix-metadata.diff new file mode 100644 index 0000000..f514945 --- /dev/null +++ b/pkg-config-0.3.9-fix-metadata.diff @@ -0,0 +1,8 @@ +--- pkg-config-0.3.9/Cargo.toml 2017-01-24T18:28:16+01:00 ++++ pkg-config-0.3.9/Cargo.toml 2017-11-30T18:07:20.462645+01:00 +@@ -13,4 +13,4 @@ + keywords = ["build-dependencies"] + + [dev-dependencies] +-lazy_static = "0.2" ++lazy_static = "1" diff --git a/rust-pkg-config.spec b/rust-pkg-config.spec index b4db7e3..b4deccf 100644 --- a/rust-pkg-config.spec +++ b/rust-pkg-config.spec @@ -6,19 +6,22 @@ Name: rust-%{crate} Version: 0.3.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library to run the pkg-config system tool License: MIT or ASL 2.0 URL: https://crates.io/crates/pkg-config Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump lazy_static to 1, https://github.com/alexcrichton/pkg-config-rs/commit/41b81f57113a1df40e899ed83dc829ab60423f33 +Patch0: pkg-config-0.3.9-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %if %{with check} # [dev-dependencies] -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) %endif %description @@ -57,6 +60,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Nov 30 2017 Igor Gnatenko - 0.3.9-3 +- Bump lazy_static to 1 + * Wed Jun 14 2017 Igor Gnatenko - 0.3.9-2 - Port to use rust-packaging