diff --git a/.gitignore b/.gitignore index 40eeacd..a8387e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /git-version-0.3.4.crate /git-version-0.3.5.crate +/git-version-0.3.9.crate diff --git a/rust-git-version.spec b/rust-git-version.spec index cd07da6..82e6839 100644 --- a/rust-git-version.spec +++ b/rust-git-version.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,15 +6,15 @@ %global crate git-version Name: rust-git-version -Version: 0.3.5 +Version: 0.3.9 Release: %autorelease -Summary: Compile the git version and dirty state into your program +Summary: Compile the git version License: BSD-2-Clause URL: https://crates.io/crates/git-version Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Compile the git version (tag name, or hash otherwise) and dirty state @@ -49,7 +49,7 @@ use the "default" 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 1f17ff0..e4d079a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git-version-0.3.5.crate) = 7017d59ec7eef1d69c333ce8bcdee355dced8e912c4b5eabcb2abb93f6075ef3d1fd9486661d472c29787b75d7866fc49835d1faf5d06e42837c95c856398629 +SHA512 (git-version-0.3.9.crate) = 1d44b4f15338b5a415683e5d8d695a192749eff0c63fd79b2cf5d4ca4142b296bc9154c02cfa381dd7062db0a9c652d06a24a027a447a453107e19bcb8047396