diff --git a/.gitignore b/.gitignore index f4dcedf..7c6682b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /escargot-0.5.6.crate /escargot-0.5.7.crate /escargot-0.5.8.crate +/escargot-0.5.9.crate diff --git a/escargot-fix-metadata.diff b/escargot-fix-metadata.diff index 121f214..6604e07 100644 --- a/escargot-fix-metadata.diff +++ b/escargot-fix-metadata.diff @@ -1,5 +1,5 @@ ---- escargot-0.5.8/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ escargot-0.5.8/Cargo.toml 2023-08-02T18:39:05.438571+00:00 +--- escargot-0.5.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ escargot-0.5.9/Cargo.toml 2024-02-14T16:13:22.399455+00:00 @@ -36,6 +36,7 @@ categories = ["development-tools::build-utils"] license = "MIT OR Apache-2.0" diff --git a/rust-escargot.spec b/rust-escargot.spec index 77e5efc..986eb70 100644 --- a/rust-escargot.spec +++ b/rust-escargot.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * files required by tests are not included in published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate escargot Name: rust-escargot -Version: 0.5.8 +Version: 0.5.9 Release: %autorelease Summary: Cargo API written in Paris @@ -17,7 +17,7 @@ Source: %{crates_source} # * drop unwanted executables Patch: escargot-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cargo API written in Paris.} @@ -100,7 +100,7 @@ use the "test_unstable" 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..7d62662 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["files required by tests are not included in published crates"] + diff --git a/sources b/sources index fba80a2..8e80ddb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (escargot-0.5.8.crate) = 6232762a14a1f05b6f4b586d38e9cc67df8ce006fb53e3ab9eb98f387bc84fe27517c161aca8279be408c20b06e4afa8ba77d8164509f0bae27f434555efbcef +SHA512 (escargot-0.5.9.crate) = ab73204f139d2630925d5d7b84c00dbca8e90a0d914c46275241c846d1400822f975f8d2d6064597a18d22c56dd261288bae730ac52f2f9191b8e059ab2156df