|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# * missing dev-dependencies: serde-xml-rs ^0.5
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
# * tests can only be run in-tree
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate serde_with
|
|
|
|
|
|
|
|
|
|
Name: rust-serde_with
|
|
|
|
|
Version: 1.14.0
|
|
|
|
|
Version: 3.4.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Custom de/serialization functions for Rust's serde
|
|
|
|
|
|
|
|
|
@ -14,7 +14,7 @@ License: MIT OR Apache-2.0
|
|
|
|
|
URL: https://crates.io/crates/serde_with
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Custom de/serialization functions for Rust's serde.}
|
|
|
|
@ -49,28 +49,28 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+base64-devel
|
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+base64-devel %{_description}
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "base64" feature of the "%{crate}" crate.
|
|
|
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+base64-devel
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+base64_crate-devel
|
|
|
|
|
%package -n %{name}+base64-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+base64_crate-devel %{_description}
|
|
|
|
|
%description -n %{name}+base64-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "base64_crate" feature of the "%{crate}" crate.
|
|
|
|
|
use the "base64" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+base64_crate-devel
|
|
|
|
|
%files -n %{name}+base64-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+chrono-devel
|
|
|
|
@ -85,40 +85,40 @@ use the "chrono" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+chrono-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+chrono_crate-devel
|
|
|
|
|
%package -n %{name}+chrono_0_4-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+chrono_crate-devel %{_description}
|
|
|
|
|
%description -n %{name}+chrono_0_4-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "chrono_crate" feature of the "%{crate}" crate.
|
|
|
|
|
use the "chrono_0_4" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+chrono_crate-devel
|
|
|
|
|
%files -n %{name}+chrono_0_4-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+doc-comment-devel
|
|
|
|
|
%package -n %{name}+guide-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+doc-comment-devel %{_description}
|
|
|
|
|
%description -n %{name}+guide-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "doc-comment" feature of the "%{crate}" crate.
|
|
|
|
|
use the "guide" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+doc-comment-devel
|
|
|
|
|
%files -n %{name}+guide-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+guide-devel
|
|
|
|
|
%package -n %{name}+hashbrown_0_14-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+guide-devel %{_description}
|
|
|
|
|
%description -n %{name}+hashbrown_0_14-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "guide" feature of the "%{crate}" crate.
|
|
|
|
|
use the "hashbrown_0_14" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+guide-devel
|
|
|
|
|
%files -n %{name}+hashbrown_0_14-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hex-devel
|
|
|
|
@ -145,64 +145,64 @@ use the "indexmap" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+indexmap-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+indexmap_crate-devel
|
|
|
|
|
%package -n %{name}+indexmap_1-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+indexmap_crate-devel %{_description}
|
|
|
|
|
%description -n %{name}+indexmap_1-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "indexmap_crate" feature of the "%{crate}" crate.
|
|
|
|
|
use the "indexmap_1" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+indexmap_crate-devel
|
|
|
|
|
%files -n %{name}+indexmap_1-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+json-devel
|
|
|
|
|
%package -n %{name}+indexmap_2-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+json-devel %{_description}
|
|
|
|
|
%description -n %{name}+indexmap_2-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "json" feature of the "%{crate}" crate.
|
|
|
|
|
use the "indexmap_2" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+json-devel
|
|
|
|
|
%files -n %{name}+indexmap_2-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+macros-devel
|
|
|
|
|
%package -n %{name}+json-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+macros-devel %{_description}
|
|
|
|
|
%description -n %{name}+json-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "macros" feature of the "%{crate}" crate.
|
|
|
|
|
use the "json" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+macros-devel
|
|
|
|
|
%files -n %{name}+json-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde_json-devel
|
|
|
|
|
%package -n %{name}+macros-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde_json-devel %{_description}
|
|
|
|
|
%description -n %{name}+macros-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde_json" feature of the "%{crate}" crate.
|
|
|
|
|
use the "macros" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde_json-devel
|
|
|
|
|
%files -n %{name}+macros-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde_with_macros-devel
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde_with_macros-devel %{_description}
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde_with_macros" feature of the "%{crate}" crate.
|
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde_with_macros-devel
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+time_0_3-devel
|
|
|
|
@ -218,7 +218,7 @@ use the "time_0_3" 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
|
|
|
|
|