From 3bde7518607a8ab8653313d419e86e1bf19a50e6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 19 Mar 2024 14:18:13 +0100 Subject: [PATCH] Update to version 0.5.0; Fixes RHBZ#2269282 --- .gitignore | 1 + README.md | 3 --- rust-heck.spec | 34 +++++----------------------------- sources | 2 +- 4 files changed, 7 insertions(+), 33 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 08c7fd4..0df93d6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /heck-0.3.3.crate /heck-0.4.0.crate /heck-0.4.1.crate +/heck-0.5.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 5a6c715..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-heck - -The rust-heck package \ No newline at end of file diff --git a/rust-heck.spec b/rust-heck.spec index c6088d6..7865352 100644 --- a/rust-heck.spec +++ b/rust-heck.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate heck Name: rust-heck -Version: 0.4.1 +Version: 0.5.0 Release: %autorelease Summary: Case conversion library @@ -13,10 +13,10 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/heck Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Case conversion library.} +Heck is a case conversion library.} %description %{_description} @@ -48,32 +48,8 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+unicode-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unicode-devel %{_description} - -This package contains library source intended for building other packages which -use the "unicode" feature of the "%{crate}" crate. - -%files -n %{name}+unicode-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+unicode-segmentation-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unicode-segmentation-devel %{_description} - -This package contains library source intended for building other packages which -use the "unicode-segmentation" feature of the "%{crate}" crate. - -%files -n %{name}+unicode-segmentation-devel -%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/sources b/sources index 8c90b50..bd3eaf3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (heck-0.4.1.crate) = 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +SHA512 (heck-0.5.0.crate) = f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76