From 0db9eebabc215f665c0bfbe0ea4d155af4ecac7a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 14 Jan 2024 23:00:41 +0100 Subject: [PATCH] Update to version 0.3.9; Fixes RHBZ#2249861 --- .gitignore | 1 + rust-git-version-macro.spec | 8 ++++---- rust2rpm.toml | 4 ++++ sources | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 8e4f2a9..3703aba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /git-version-macro-0.3.4.crate /git-version-macro-0.3.5.crate +/git-version-macro-0.3.9.crate diff --git a/rust-git-version-macro.spec b/rust-git-version-macro.spec index 57f104c..df48de5 100644 --- a/rust-git-version-macro.spec +++ b/rust-git-version-macro.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests can only be run inside the upstream git repository %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate git-version-macro Name: rust-git-version-macro -Version: 0.3.5 +Version: 0.3.9 Release: %autorelease Summary: Internal macro crate for git-version @@ -14,7 +14,7 @@ License: BSD-2-Clause URL: https://crates.io/crates/git-version-macro Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Internal macro crate for git-version.} @@ -59,7 +59,7 @@ use the "nightly" 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..a6f4074 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run inside the upstream git repository"] + diff --git a/sources b/sources index b5d9662..be41353 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git-version-macro-0.3.5.crate) = 319729646469ab6508e16e6f3b88f588580fe7089479f70522edd6ac7eadb3c4576f0a57863bd3927d1ada693c3fe3706dc6a75e6cd75723db7f23199dc69ae0 +SHA512 (git-version-macro-0.3.9.crate) = e0b1d8ef1bf2c9b5c981a4c0f6a6610a04d1552ad5eca493357f392dfdb5ebc651f1846d5ba1d847208956f5e364972851de83ddd440a855df5f8b4891ba2f5d