From 18c3256ff421108153e0d8b413ea2015340e6a62 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jul 13 2023 22:48:28 +0000 Subject: Update to version 2.3.0; Fixes RHBZ#2212326 --- diff --git a/.gitignore b/.gitignore index db535a4..15d4d25 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /percent-encoding-1.0.1.crate /percent-encoding-2.1.0.crate /percent-encoding-2.2.0.crate +/percent-encoding-2.3.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 81a7611..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-percent-encoding - -The rust-percent-encoding package \ No newline at end of file diff --git a/rust-percent-encoding.spec b/rust-percent-encoding.spec index ed9b9d0..c3ef67d 100644 --- a/rust-percent-encoding.spec +++ b/rust-percent-encoding.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate percent-encoding Name: rust-percent-encoding -Version: 2.2.0 +Version: 2.3.0 Release: %autorelease Summary: Percent encoding and decoding @@ -13,8 +13,6 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/percent-encoding Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -60,6 +58,18 @@ use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index b51b004..c644020 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (percent-encoding-2.2.0.crate) = 890a5256d2b4290e12e04a02c3529f3a017faa2b6016a4dd0f08b36509f0b1107eacfcb4702024d6a21ff8852a11f263c1adc096b16ef8d12c45a734c087fe68 +SHA512 (percent-encoding-2.3.0.crate) = 54ba129b0f3b43627707be994a281cdb69d5a7bdbc91dfeaa0226cf2834adeff7d2597dca5d11dd48b5731e831acf1284497b251abfebc0618761f98fe3c01cd