From 9ced5765f8cd768806e353549733776fd93c04e8 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 13 Jun 2024 12:37:12 +0200 Subject: [PATCH] Update to version 0.2.1; Fixes RHBZ#2255246 --- README.md | 3 --- rust-cfg_aliases.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 README.md delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/README.md b/README.md deleted file mode 100644 index df0bcdc..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-cfg_aliases - -The rust-cfg_aliases package diff --git a/rust-cfg_aliases.spec b/rust-cfg_aliases.spec index e666c49..9485641 100644 --- a/rust-cfg_aliases.spec +++ b/rust-cfg_aliases.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate cfg_aliases Name: rust-cfg_aliases -Version: 0.1.1 +Version: 0.2.1 Release: %autorelease Summary: Tiny utility to help with long winded #[cfg()] checks @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/cfg_aliases Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A tiny utility to help save you a lot of effort with long winded @@ -50,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 diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 10e1cb7..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Tiny utility to help with long winded #[cfg()] checks diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6e05f31 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Tiny utility to help with long winded #[cfg()] checks" + diff --git a/sources b/sources index 96ff43f..21490e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cfg_aliases-0.1.1.crate) = 238828445c5b48ca41ff88825af0a1ad30494e423bb6f89b6d5e4d26042afaa1ceb0e32041f7cddd79c3e15c6c82a1ddb9469c4b63a1ac52d4bcc1174900f880 +SHA512 (cfg_aliases-0.2.1.crate) = 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c