Update to version 1.11.0; Fixes RHBZ#2034333

epel10
Fabio Valentini 3 years ago
parent b3e898dece
commit 91281e6f85
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,13 +1,12 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 20
# * missing dev-dependencies: expect-test, serde-xml-rs ^0.5
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate serde_with %global crate serde_with
%global __cargo_parse_opts --features=chrono_crate,serde_json
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.9.4 Version: 1.11.0
Release: %autorelease Release: %autorelease
Summary: Custom de/serialization functions for Rust's serde Summary: Custom de/serialization functions for Rust's serde
@ -15,14 +14,8 @@ Summary: Custom de/serialization functions for Rust's serde
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/serde_with URL: https://crates.io/crates/serde_with
Source: %{crates_source} Source: %{crates_source}
# cargo-inspector doesn't support disabling default features
# https://pagure.io/fedora-rust/rust2rpm/issue/140
Patch0: serde_with-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -37,12 +30,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license LICENSE-APACHE LICENSE-MIT
%doc README.tpl README.md CHANGELOG.md src/guide.md src/guide/serde_as.md src/guide/feature_flags.md %doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -51,20 +44,44 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+base64-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+base64-devel %{_description}
This package contains library source intended for building other packages which
use the "base64" feature of the "%{crate}" crate.
%files -n %{name}+base64-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+base64_crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+base64_crate-devel %{_description}
This package contains library source intended for building other packages which
use the "base64_crate" feature of the "%{crate}" crate.
%files -n %{name}+base64_crate-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+chrono-devel %package -n %{name}+chrono-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+chrono-devel %{_description} %description -n %{name}+chrono-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "chrono" feature of "%{crate}" crate. use the "chrono" feature of the "%{crate}" crate.
%files -n %{name}+chrono-devel %files -n %{name}+chrono-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -75,20 +92,44 @@ BuildArch: noarch
%description -n %{name}+chrono_crate-devel %{_description} %description -n %{name}+chrono_crate-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "chrono_crate" feature of "%{crate}" crate. use the "chrono_crate" feature of the "%{crate}" crate.
%files -n %{name}+chrono_crate-devel %files -n %{name}+chrono_crate-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+doc-comment-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+doc-comment-devel %{_description}
This package contains library source intended for building other packages which
use the "doc-comment" feature of the "%{crate}" crate.
%files -n %{name}+doc-comment-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+guide-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+guide-devel %{_description}
This package contains library source intended for building other packages which
use the "guide" feature of the "%{crate}" crate.
%files -n %{name}+guide-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+hex-devel %package -n %{name}+hex-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+hex-devel %{_description} %description -n %{name}+hex-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "hex" feature of "%{crate}" crate. use the "hex" feature of the "%{crate}" crate.
%files -n %{name}+hex-devel %files -n %{name}+hex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -99,12 +140,48 @@ BuildArch: noarch
%description -n %{name}+json-devel %{_description} %description -n %{name}+json-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "json" feature of "%{crate}" crate. use the "json" feature of the "%{crate}" crate.
%files -n %{name}+json-devel %files -n %{name}+json-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+macros-devel %{_description}
This package contains library source intended for building other packages which
use the "macros" feature of the "%{crate}" crate.
%files -n %{name}+macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde_json-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_json-devel %{_description}
This package contains library source intended for building other packages which
use the "serde_json" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde_with_macros-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde_with_macros-devel %{_description}
This package contains library source intended for building other packages which
use the "serde_with_macros" feature of the "%{crate}" crate.
%files -n %{name}+serde_with_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -1,10 +0,0 @@
--- serde_with-1.9.4/Cargo.toml.orig 2021-08-11 09:54:50.896787466 +0100
+++ serde_with-1.9.4/Cargo.toml 2021-08-11 09:55:10.604104850 +0100
@@ -119,7 +119,6 @@
[features]
chrono = ["chrono_crate"]
-default = ["macros"]
guide = ["doc-comment", "macros"]
json = ["serde_json"]
macros = ["serde_with_macros"]

@ -1 +1 @@
SHA512 (serde_with-1.9.4.crate) = fe1d64f58b053219b84b88c1c3a4a8bcaf3848eef8d98b71a4e2cb1cbb595b8eaf4aabb1aaf6481b26b0a3c5c22e574803130afd6c97e1dac60cfd5e3107a455 SHA512 (serde_with-1.11.0.crate) = c8faa3b14c90eae6daed16e03bc3e26137fae7a2fe0d1003ccdb1d036d25025f0422b06bb743b647997ea72410766a332f024d831e063cd1aa6375790287ae21

Loading…
Cancel
Save