From e703ddd01b5f2ea70d27ca1e50deaaab781d9643 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:27:14 +0300 Subject: [PATCH] import rust-erased-serde0.3-0.3.31-3.el10 --- .gitignore | 1 + .rust-erased-serde0.3.metadata | 1 + SPECS/rust-erased-serde0.3.spec | 127 ++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-erased-serde0.3.metadata create mode 100644 SPECS/rust-erased-serde0.3.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22cb507 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/erased-serde-0.3.31.crate diff --git a/.rust-erased-serde0.3.metadata b/.rust-erased-serde0.3.metadata new file mode 100644 index 0000000..d45d4bb --- /dev/null +++ b/.rust-erased-serde0.3.metadata @@ -0,0 +1 @@ +bdaced5acf31a4c27351726d5b4eb625c93977ce SOURCES/erased-serde-0.3.31.crate diff --git a/SPECS/rust-erased-serde0.3.spec b/SPECS/rust-erased-serde0.3.spec new file mode 100644 index 0000000..7f13056 --- /dev/null +++ b/SPECS/rust-erased-serde0.3.spec @@ -0,0 +1,127 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 25 +%bcond_without check +%global debug_package %{nil} + +%global crate erased-serde + +Name: rust-erased-serde0.3 +Version: 0.3.31 +Release: %autorelease +Summary: Type-erased Serialize and Serializer traits + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/erased-serde +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Type-erased Serialize and Serializer traits.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +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 +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable-debug" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-debug-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.31-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.3.31-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.3.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Dec 31 2023 Fabio Valentini - 0.3.31-1 +- Initial import (erased-serde 0.3 compat package) +## END: Generated by rpmautospec