diff --git a/quickcheck-fix-metadata.diff b/quickcheck-fix-metadata.diff new file mode 100644 index 0000000..2f5d29f --- /dev/null +++ b/quickcheck-fix-metadata.diff @@ -0,0 +1,11 @@ +--- quickcheck-0.9.2/Cargo.toml 2020-01-14T14:10:18+00:00 ++++ quickcheck-0.9.2/Cargo.toml 2024-08-29T11:54:30.331748+00:00 +@@ -28,7 +28,7 @@ + [lib] + name = "quickcheck" + [dependencies.env_logger] +-version = "0.7.0" ++version = "0.8.0" + optional = true + default-features = false + diff --git a/rust-quickcheck0.9.spec b/rust-quickcheck0.9.spec index 9bbc0f2..c9b3aed 100644 --- a/rust-quickcheck0.9.spec +++ b/rust-quickcheck0.9.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -13,8 +13,11 @@ Summary: Automatic property based testing with shrinking License: Unlicense OR MIT URL: https://crates.io/crates/quickcheck Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * bump env_logger dependency from 0.7 to 0.8 +Patch: quickcheck-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Automatic property based testing with shrinking.} @@ -110,7 +113,7 @@ use the "use_logging" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..669b2cb --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +cargo-toml-patch-comments = [ + "bump env_logger dependency from 0.7 to 0.8", +] +