From 7499de9f5027f778f61207392aa18d36f6660c47 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 19 Jan 2022 00:01:04 +0100 Subject: [PATCH] Update to version 0.4.0; Fixes RHBZ#2030786 --- .gitignore | 1 + rust-heck.spec | 37 +++++++++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index ecb9ccd..c65e119 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /heck-0.3.1.crate /heck-0.3.2.crate /heck-0.3.3.crate +/heck-0.4.0.crate diff --git a/rust-heck.spec b/rust-heck.spec index 1cc77b2..1f662cf 100644 --- a/rust-heck.spec +++ b/rust-heck.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate heck Name: rust-%{crate} -Version: 0.3.3 +Version: 0.4.0 Release: %autorelease Summary: Case conversion library @@ -15,9 +15,6 @@ URL: https://crates.io/crates/heck Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,11 +30,11 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%doc README.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,11 +44,35 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 7d91489..bdeb983 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (heck-0.3.3.crate) = b3498e033f44e03206421e565efec5b21d13107b60d35e4476331c44e6effd75c81f7678f2452c822eefd581209a2ffefd2034779cca2d8b4fac4583bbbf777f +SHA512 (heck-0.4.0.crate) = 33bdbf4ff9ecc4f4d74cf06590e056f4d96bf0d990d5381b9da5b65682b2495ed74e27b45419c2afa986c1f6200909d5175b137ae73ced5cc8ac869e4e1bce8f