From daacb395705bf0ea0c23c7ee11a769b0c86d2542 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:08:43 +0300 Subject: [PATCH] import rust-serde_with-3.11.0-1.el10 --- .gitignore | 1 + .rust-serde_with.metadata | 1 + SOURCES/rust2rpm.toml | 9 ++ SPECS/rust-serde_with.spec | 316 +++++++++++++++++++++++++++++++++++++ 4 files changed, 327 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-serde_with.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-serde_with.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed95a03 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serde_with-3.11.0.crate diff --git a/.rust-serde_with.metadata b/.rust-serde_with.metadata new file mode 100644 index 0000000..3df9eae --- /dev/null +++ b/.rust-serde_with.metadata @@ -0,0 +1 @@ +12a7b7a25325354e4e36e798bc04bcf91c362760 SOURCES/serde_with-3.11.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..9ebd383 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,9 @@ +[features] +hide = [ + "hashbrown_0_15", +] + +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/SPECS/rust-serde_with.spec b/SPECS/rust-serde_with.spec new file mode 100644 index 0000000..444e885 --- /dev/null +++ b/SPECS/rust-serde_with.spec @@ -0,0 +1,316 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 26 +# * tests can only be run in-tree +%bcond_with check +%global debug_package %{nil} + +%global crate serde_with + +Name: rust-serde_with +Version: 3.11.0 +Release: %autorelease +Summary: Custom de/serialization functions for Rust's serde + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/serde_with +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Custom de/serialization functions for Rust's serde.} + +%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}/CHANGELOG.md +%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}+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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+chrono-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chrono-devel %{_description} + +This package contains library source intended for building other packages which +use the "chrono" feature of the "%{crate}" crate. + +%files -n %{name}+chrono-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chrono_0_4-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chrono_0_4-devel %{_description} + +This package contains library source intended for building other packages which +use the "chrono_0_4" feature of the "%{crate}" crate. + +%files -n %{name}+chrono_0_4-devel +%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+hashbrown_0_14-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hashbrown_0_14-devel %{_description} + +This package contains library source intended for building other packages which +use the "hashbrown_0_14" feature of the "%{crate}" crate. + +%files -n %{name}+hashbrown_0_14-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hex-devel %{_description} + +This package contains library source intended for building other packages which +use the "hex" feature of the "%{crate}" crate. + +%files -n %{name}+hex-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+indexmap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap-devel %{_description} + +This package contains library source intended for building other packages which +use the "indexmap" feature of the "%{crate}" crate. + +%files -n %{name}+indexmap-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+indexmap_1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap_1-devel %{_description} + +This package contains library source intended for building other packages which +use the "indexmap_1" feature of the "%{crate}" crate. + +%files -n %{name}+indexmap_1-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+indexmap_2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+indexmap_2-devel %{_description} + +This package contains library source intended for building other packages which +use the "indexmap_2" feature of the "%{crate}" crate. + +%files -n %{name}+indexmap_2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+json-devel %{_description} + +This package contains library source intended for building other packages which +use the "json" feature of the "%{crate}" crate. + +%files -n %{name}+json-devel +%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+schemars_0_8-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+schemars_0_8-devel %{_description} + +This package contains library source intended for building other packages which +use the "schemars_0_8" feature of the "%{crate}" crate. + +%files -n %{name}+schemars_0_8-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}+time_0_3-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+time_0_3-devel %{_description} + +This package contains library source intended for building other packages which +use the "time_0_3" feature of the "%{crate}" crate. + +%files -n %{name}+time_0_3-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 - 3.11.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Oct 07 2024 Fabio Valentini - 3.11.0-1 +- Update to version 3.11.0; Fixes RHBZ#2315994 + +* Mon Jul 29 2024 Fabio Valentini - 3.9.0-1 +- Update to version 3.9.0; Fixes RHBZ#2297904 + +* Sat Jul 20 2024 Fedora Release Engineering - 3.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jul 07 2024 Fabio Valentini - 3.8.3-1 +- Update to version 3.8.3; Fixes RHBZ#2295567 + +* Tue Jun 25 2024 Fabio Valentini - 3.8.1-1 +- Update to version 3.8.1; Fixes RHBZ#2269076 + +* Mon Feb 19 2024 Fabio Valentini - 3.6.1-1 +- Update to version 3.6.1; Fixes RHBZ#2262026 + +* Tue Jan 30 2024 Fabio Valentini - 3.5.1-1 +- Update to version 3.5.1; Fixes RHBZ#2259381 + +* Sat Jan 27 2024 Fedora Release Engineering - 3.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Nov 24 2023 Fabio Valentini - 3.4.0-1 +- Update to version 3.4.0; Fixes RHBZ#2073002 + +* Sat Aug 05 2023 Fabio Valentini - 1.14.0-1 +- Update to version 1.14.0 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.12.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 12 2022 Peter Robinson - 1.12.0-1 +- Update to 1.12.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Dec 20 2021 Fabio Valentini - 1.11.0-1 +- Update to version 1.11.0; Fixes RHBZ#2034333 + +* Sat Jul 31 2021 Peter Robinson - 1.9.4-1 +- Initial package + +## END: Generated by rpmautospec