From 3b0a5dd69ae68c49e115e700c9e59fa3169fc9fb Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:27:04 +0300 Subject: [PATCH] import rust-erased-serde-0.4.5-1.el10 --- .gitignore | 1 + .rust-erased-serde.metadata | 1 + SPECS/rust-erased-serde.spec | 224 +++++++++++++++++++++++++++++++++++ 3 files changed, 226 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-erased-serde.metadata create mode 100644 SPECS/rust-erased-serde.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0650587 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/erased-serde-0.4.5.crate diff --git a/.rust-erased-serde.metadata b/.rust-erased-serde.metadata new file mode 100644 index 0000000..7ebfc1f --- /dev/null +++ b/.rust-erased-serde.metadata @@ -0,0 +1 @@ +b695da3df3a838da1edb14b2bdec9b8da7f40c54 SOURCES/erased-serde-0.4.5.crate diff --git a/SPECS/rust-erased-serde.spec b/SPECS/rust-erased-serde.spec new file mode 100644 index 0000000..c37d5d7 --- /dev/null +++ b/SPECS/rust-erased-serde.spec @@ -0,0 +1,224 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 +%bcond_without check +%global debug_package %{nil} + +%global crate erased-serde + +Name: rust-erased-serde +Version: 0.4.5 +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.4.5-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 23 2024 Fabio Valentini - 0.4.5-1 +- Update to version 0.4.5 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Apr 25 2024 Fabio Valentini - 0.4.4-1 +- Update to version 0.4.4; Fixes RHBZ#2264824 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 10 2024 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2; Fixes RHBZ#2256494 + +* Sun Dec 31 2023 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1; Fixes RHBZ#2251419 + +* Fri Sep 15 2023 Fabio Valentini - 0.3.31-1 +- Update to version 0.3.31; Fixes RHBZ#2234354 + +* Wed Aug 23 2023 Fabio Valentini - 0.3.29-1 +- Update to version 0.3.29; Fixes RHBZ#2232466 + +* Fri Jul 21 2023 Fabio Valentini - 0.3.28-1 +- Update to version 0.3.28; Fixes RHBZ#2223129 + +* Tue Jul 11 2023 Fabio Valentini - 0.3.27-1 +- Update to version 0.3.27; Fixes RHBZ#2219189 + +* Mon Mar 06 2023 Fabio Valentini - 0.3.25-1 +- Update to version 0.3.25; Fixes RHBZ#2175342 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 20 2022 Fabio Valentini - 0.3.24-1 +- Update to version 0.3.24; Fixes RHBZ#2154570 + +* Thu Aug 25 2022 Fabio Valentini - 0.3.23-1 +- Update to version 0.3.23; Fixes RHBZ#2121251 + +* Tue Aug 02 2022 Fabio Valentini - 0.3.22-1 +- Update to version 0.3.22; Fixes RHBZ#2113795 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Fabio Valentini - 0.3.21-1 +- Update to version 0.3.21; Fixes RHBZ#2098394 + +* Thu Mar 17 2022 Fabio Valentini - 0.3.20-1 +- Update to version 0.3.20; Fixes RHBZ#2064425 + +* Wed Jan 26 2022 Fabio Valentini - 0.3.18-1 +- Update to version 0.3.18; Fixes RHBZ#2043784 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Fabio Valentini - 0.3.17-1 +- Update to version 0.3.17; Fixes RHBZ#2035616 + +* Sat Nov 27 2021 Igor Raits - 0.3.16-4 +- fixup! Regenerate + +* Tue Jul 27 2021 Fedora Release Engineering - 0.3.16-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jun 19 2021 Fabio Valentini - 0.3.16-1 +- Update to version 0.3.16. +- Fixes RHBZ#1973713 + +* Tue May 25 2021 Fabio Valentini - 0.3.15-1 +- Update to version 0.3.15. +- Fixes RHBZ#1964135 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 28 11:02:30 CET 2020 Igor Raits - 0.3.13-1 +- Update to 0.3.13 (Fixes: RHBZ#1911137) + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Josh Stone - 0.3.12-1 +- Update to 0.3.12 + +* Sat Mar 28 07:14:16 CET 2020 Igor Raits - 0.3.11-1 +- Update to 0.3.11 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Josh Stone - 0.3.10-1 +- Update to 0.3.10 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Feb 11 2019 Sayan Chowdhury - 0.3.9-1 +- Initial package + +## END: Generated by rpmautospec