diff --git a/.gitignore b/.gitignore index ef88593..cbc93d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /databake-0.1.5.crate +/databake-0.1.7.crate diff --git a/databake-fix-metadata.diff b/databake-fix-metadata.diff new file mode 100644 index 0000000..645add9 --- /dev/null +++ b/databake-fix-metadata.diff @@ -0,0 +1,11 @@ +--- databake-0.1.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ databake-0.1.7/Cargo.toml 2024-02-07T13:29:46.061123+00:00 +@@ -39,7 +39,7 @@ + "development-tools::procedural-macro-helpers", + "development-tools::build-utils", + ] +-license-file = "LICENSE" ++license = "Unicode-DFS-2016" + repository = "https://github.com/unicode-org/icu4x" + + [package.metadata.docs.rs] diff --git a/rust-databake.spec b/rust-databake.spec index f28d19e..02d44e8 100644 --- a/rust-databake.spec +++ b/rust-databake.spec @@ -1,17 +1,20 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate databake Name: rust-databake -Version: 0.1.5 +Version: 0.1.7 Release: %autorelease Summary: Trait that lets structs represent themselves as (const) Rust expressions License: Unicode-DFS-2016 URL: https://crates.io/crates/databake Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * set license in crate metadata +Patch: databake-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -60,7 +63,7 @@ use the "derive" 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/sources b/sources index 582d030..8652640 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (databake-0.1.5.crate) = a55640cd0a21c719df7c3f073c16c2947a4bd739734ce2d98bb6b8ae97f4922abec74ece58e9cbf0394334af6ae7adf9df84ca582581105c8ab3d61727024aad +SHA512 (databake-0.1.7.crate) = b7c37a637ba5b7401c7650e5334da901ce9297871ebfac5136d03cd6a8c5ed7c47d7a46ee7566044cf9b104877c22dc6eec0ecf6c16763e8cb2036eadd4a321a