From ee2f54e588935d86eb2bec0311babbab36d424d0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 4 Jan 2024 21:15:24 +0100 Subject: [PATCH] Update to version 1.2.1; Fixes RHBZ#2251084 --- .gitignore | 1 + rust-form_urlencoded.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 5f6a71e..1455ac6 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /form_urlencoded-1.0.1.crate /form_urlencoded-1.1.0.crate /form_urlencoded-1.2.0.crate +/form_urlencoded-1.2.1.crate diff --git a/rust-form_urlencoded.spec b/rust-form_urlencoded.spec index 45e8635..bae3aab 100644 --- a/rust-form_urlencoded.spec +++ b/rust-form_urlencoded.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate form_urlencoded Name: rust-form_urlencoded -Version: 1.2.0 +Version: 1.2.1 Release: %autorelease Summary: Parser and serializer for the application/x-www-form-urlencoded syntax @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/form_urlencoded Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Parser and serializer for the application/x-www-form-urlencoded syntax, @@ -72,7 +72,7 @@ use the "std" 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 71b06b4..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Parser and serializer for the application/x-www-form-urlencoded syntax diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..c2f2e65 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Parser and serializer for the application/x-www-form-urlencoded syntax" + diff --git a/sources b/sources index fe037b0..bb0d565 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (form_urlencoded-1.2.0.crate) = 899ddd113a79bdeac12e499f581c5499d1a4b698c75cfc2d6aada5880cd802fc8537ff9ce68eca28374318d66fd70100962105c1e8962868a5732bb86326c104 +SHA512 (form_urlencoded-1.2.1.crate) = c65104e2dc08fad572bb31f981700fd43dd29fcff42b01c7ccdbd3d4c23dec12360aed3f1b5fc4766fee386d418a65349b2941b8735f788cb0d35d631a6a8dd1