From 483fdf9cb7da26004292ac983f8e366cd5ebd2ab Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Apr 13 2024 08:46:42 +0000 Subject: Update to version 0.10.0; Fixes RHBZ#2263498 --- diff --git a/.gitignore b/.gitignore index 0c7b9b3..5d3a1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /pyproject-toml-0.6.1.crate /pyproject-toml-0.8.1.crate /pyproject-toml-0.8.2.crate +/pyproject-toml-0.10.0.crate diff --git a/pyproject-toml-fix-metadata.diff b/pyproject-toml-fix-metadata.diff deleted file mode 100644 index 9f92dde..0000000 --- a/pyproject-toml-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- pyproject-toml-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ pyproject-toml-0.8.2/Cargo.toml 2024-02-05T15:59:44.275570+00:00 -@@ -31,7 +31,7 @@ - features = ["serde"] - - [dependencies.pep440_rs] --version = "0.4.0" -+version = "0.3.6" - features = ["serde"] - - [dependencies.pep508_rs] diff --git a/rust-pyproject-toml.spec b/rust-pyproject-toml.spec index 7a4fb11..a621d11 100644 --- a/rust-pyproject-toml.spec +++ b/rust-pyproject-toml.spec @@ -5,18 +5,13 @@ %global crate pyproject-toml Name: rust-pyproject-toml -Version: 0.8.2 +Version: 0.10.0 Release: %autorelease Summary: Pyproject.toml parser in Rust License: MIT URL: https://crates.io/crates/pyproject-toml Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * revert breaking upstream change (pep440_rs v0.3 -> v0.4 update): -# https://github.com/PyO3/pyproject-toml-rs/commit/9e888f4 -# https://github.com/PyO3/pyproject-toml-rs/issues/17 -Patch: pyproject-toml-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -52,6 +47,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+tracing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tracing-devel %{_description} + +This package contains library source intended for building other packages which +use the "tracing" feature of the "%{crate}" crate. + +%files -n %{name}+tracing-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/sources b/sources index 806b173..0dc49a3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyproject-toml-0.8.2.crate) = e3ae18e9453c6895322564eb7709c894dad528a4390df8410c8d360147c024f59ddec7a5632658c4078ec25633e13b97fa9191468e522dde0f5c483eba36a4b8 +SHA512 (pyproject-toml-0.10.0.crate) = 9e8bd5572b86b9e9a27aa67a7f6a7eedeb9c3f190512577872cbce4fb52450a3966a3576a695d3e54bbe1005f9f6f1be4d20db3af4b354e294af8e8d50b59095