diff --git a/.gitignore b/.gitignore index 275f9bb..7ed8b44 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /cxxbridge-macro-1.0.94.crate /cxxbridge-macro-1.0.95.crate /cxxbridge-macro-1.0.97.crate +/cxxbridge-macro-1.0.100.crate diff --git a/cxxbridge-macro-fix-metadata.diff b/cxxbridge-macro-fix-metadata.diff new file mode 100644 index 0000000..814b555 --- /dev/null +++ b/cxxbridge-macro-fix-metadata.diff @@ -0,0 +1,11 @@ +--- cxxbridge-macro-1.0.100/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cxxbridge-macro-1.0.100/Cargo.toml 2023-07-11T11:32:47.096734+00:00 +@@ -38,7 +38,7 @@ + optional = true + + [dependencies.flate2] +-version = "1.0.26" ++version = "1.0.25" + optional = true + + [dependencies.memmap] diff --git a/rust-cxxbridge-macro.spec b/rust-cxxbridge-macro.spec index c78fea3..92ac6fa 100644 --- a/rust-cxxbridge-macro.spec +++ b/rust-cxxbridge-macro.spec @@ -6,13 +6,16 @@ %global crate cxxbridge-macro Name: rust-cxxbridge-macro -Version: 1.0.97 +Version: 1.0.100 Release: %autorelease Summary: Implementation detail of the cxx crate License: MIT OR Apache-2.0 URL: https://crates.io/crates/cxxbridge-macro Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * temporarily downgrade flate2 dependency from 1.0.26 to 1.0.25 +Patch: cxxbridge-macro-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -120,6 +123,18 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+serde_derive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_derive-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_derive" feature of the "%{crate}" crate. + +%files -n %{name}+serde_derive-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 433ab3b..b90ed53 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cxxbridge-macro-1.0.97.crate) = 2014e0f13f71f8e7a15f25c71b89002430b942301f534a95d034ce02a84d84eeac12b073c2e70a9e4c4e4ed89a98748e0fc81b001e8c2d04214ef866c4afa554 +SHA512 (cxxbridge-macro-1.0.100.crate) = 584a3254fa3e0ca7ee05f6b0acce241f5ad6288d5db0d11d55d22af33810a3f049b392e0e086f9bfc0e6061f4d5755300d932fd994f5b28108a76b188b52cb10