diff --git a/.gitignore b/.gitignore index 3c168e1..5d0ab5b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gix-prompt-0.7.0.crate +/gix-prompt-0.8.4.crate diff --git a/rust-gix-prompt.spec b/rust-gix-prompt.spec index a3b95eb..16d68c0 100644 --- a/rust-gix-prompt.spec +++ b/rust-gix-prompt.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 # * Drop tests because a dependency is not packaged yet # * See https://bugzilla.redhat.com/show_bug.cgi?id=2216297 %bcond_with check @@ -7,7 +7,7 @@ %global crate gix-prompt Name: rust-gix-prompt -Version: 0.7.0 +Version: 0.8.4 Release: %autorelease Summary: Of the gitoxide project for handling prompts in the terminal @@ -15,7 +15,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-prompt Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A crate of the gitoxide project for handling prompts in the terminal.} @@ -34,7 +34,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT -%doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -51,7 +50,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 @@ -65,6 +64,7 @@ use the "default" feature of the "%{crate}" crate. %if %{with check} %check +%cargo_test %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..03d1d20 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[tests] +run = ["none"] +comments = [ + "Drop tests because a dependency is not packaged yet", + "See https://bugzilla.redhat.com/show_bug.cgi?id=2216297" +] diff --git a/sources b/sources index 07b231b..00a092e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gix-prompt-0.7.0.crate) = 8ad2e4790c3b9d414102172b5958d28e3a2ead73909b923ccba5a3b38664f6bfb326d74be15c012db7a22cd579c915bb0356f2a5582970241d2a82fe97c38346 +SHA512 (gix-prompt-0.8.4.crate) = 0cc2fd76bbced585a2e63bfcf3237d359f85320906ac7918cf8fe93f366f050d53a3c04927ed49a396e401e4b22d63e21f0440aba2bcb8229c5474250b5185d6