diff --git a/cexpr-fix-metadata.diff b/cexpr-fix-metadata.diff new file mode 100644 index 0000000..a894245 --- /dev/null +++ b/cexpr-fix-metadata.diff @@ -0,0 +1,8 @@ +--- cexpr-0.3.4/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ cexpr-0.3.4/Cargo.toml 2019-03-17T17:31:42.133687+01:00 +@@ -23,4 +23,4 @@ + version = "^4" + features = ["verbose-errors"] + [dev-dependencies.clang-sys] +-version = ">= 0.13.0, < 0.28.0" ++version = ">= 0.13.0, < 0.29.0" diff --git a/rust-cexpr.spec b/rust-cexpr.spec index bb368c5..75404e6 100644 --- a/rust-cexpr.spec +++ b/rust-cexpr.spec @@ -7,13 +7,16 @@ Name: rust-%{crate} Version: 0.3.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: C expression parser and evaluator # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/cexpr -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source0: %{crates_source} +# Initial patched metadata +# - Bump clang-sys to 0.28.0 https://github.com/jethrogb/rust-cexpr/pull/13 +Patch0: cexpr-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -21,7 +24,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0) BuildRequires: (crate(nom/verbose-errors) >= 4.0.0 with crate(nom/verbose-errors) < 5.0.0) %if %{with check} -BuildRequires: (crate(clang-sys/default) >= 0.13.0 with crate(clang-sys/default) < 0.28.0) +BuildRequires: (crate(clang-sys/default) >= 0.13.0 with crate(clang-sys/default) < 0.29.0) %endif %global _description \ @@ -70,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 17 2019 Robert-André Mauchin - 0.3.4-3 +- Bump to clang-sys 0.28 + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild