From b4348870b829c0e3569abffaee1316a52731711d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 4 Jan 2024 21:19:06 +0100 Subject: [PATCH] Update to version 2.5.0; Fixes RHBZ#2251081 --- .gitignore | 1 + rust-url.spec | 9 +++++---- rust2rpm.conf | 4 ---- rust2rpm.toml | 6 ++++++ sources | 2 +- url-fix-metadata.diff | 9 --------- 6 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml delete mode 100644 url-fix-metadata.diff diff --git a/.gitignore b/.gitignore index f2a4da7..30ac698 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /url-2.3.1.crate /url-2.4.0.crate /url-2.4.1.crate +/url-2.5.0.crate diff --git a/rust-url.spec b/rust-url.spec index 95b54b1..f44b727 100644 --- a/rust-url.spec +++ b/rust-url.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate url Name: rust-url -Version: 2.4.1 +Version: 2.5.0 Release: %autorelease Summary: URL library for Rust, based on the WHATWG URL Standard @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/url Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: URL library for Rust, based on the WHATWG URL Standard.} @@ -32,6 +32,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -71,7 +72,7 @@ use the "serde" 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 0090845..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -summary = URL library for Rust, based on the WHATWG URL Standard -unwanted-features = - debugger_visualizer diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..439bc00 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[package] +summary = "URL library for Rust, based on the WHATWG URL Standard" + +[features] +hide = ["debugger_visualizer"] + diff --git a/sources b/sources index b5e0086..a00974d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (url-2.4.1.crate) = ff2aed100e405f4474e17dcc01d59b63460e7a8babeb7cdcf9df6c1c65216c425e24d557f76c7097702b2befc381656107bef755ce929089b52a3901c46aa185 +SHA512 (url-2.5.0.crate) = 4aedbc48b85bcc2853189f5fe8265a01c76516b5507f4e958d8d0b860fe2590c69c95f0f4b9fd6fac9b8d5911bcb0a5e9ab7f8e8b600f37a12db1438976ee5c3 diff --git a/url-fix-metadata.diff b/url-fix-metadata.diff deleted file mode 100644 index d89f6d2..0000000 --- a/url-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- url-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ url-2.4.1/Cargo.toml 2023-08-28T16:01:00.024105+00:00 -@@ -63,6 +63,5 @@ - version = "1.0" - - [features] --debugger_visualizer = [] - default = [] - expose_internals = []