From 3814742f887089eb4a8c32e4b1605893b9556c86 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 15 Jan 2024 02:15:54 +0300 Subject: [PATCH] import rust-serde_bytes-0.11.14-1.el9 --- .gitignore | 1 + .rust-serde_bytes.metadata | 1 + SPECS/rust-serde_bytes.spec | 210 ++++++++++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-serde_bytes.metadata create mode 100644 SPECS/rust-serde_bytes.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..43c7360 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serde_bytes-0.11.14.crate diff --git a/.rust-serde_bytes.metadata b/.rust-serde_bytes.metadata new file mode 100644 index 0000000..5f51325 --- /dev/null +++ b/.rust-serde_bytes.metadata @@ -0,0 +1 @@ +ba71cf0e300d166c53b1a40948fa08039ebcd3d2 SOURCES/serde_bytes-0.11.14.crate diff --git a/SPECS/rust-serde_bytes.spec b/SPECS/rust-serde_bytes.spec new file mode 100644 index 0000000..24519d1 --- /dev/null +++ b/SPECS/rust-serde_bytes.spec @@ -0,0 +1,210 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate serde_bytes + +Name: rust-serde_bytes +Version: 0.11.14 +Release: %autorelease +Summary: Optimized handling of &[u8] and Vec for Serde + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/serde_bytes +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Optimized handling of `&[u8]` and `Vec` for 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}/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 + +%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 +* Mon Jan 15 2024 MSVSphere Packaging Team - 0.11.14-1 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 05 2024 Fabio Valentini - 0.11.14-1 +- Update to version 0.11.14; Fixes RHBZ#2256497 + +* Wed Dec 27 2023 Fabio Valentini - 0.11.13-1 +- Update to version 0.11.13; Fixes RHBZ#2255950 + +* Fri Jul 21 2023 Fabio Valentini - 0.11.12-1 +- Update to version 0.11.12; Fixes RHBZ#2223141 + +* Tue Jul 11 2023 Fabio Valentini - 0.11.11-1 +- Update to version 0.11.11; Fixes RHBZ#2219464 + +* Sun Feb 05 2023 Fabio Valentini - 0.11.9-1 +- Update to version 0.11.9; Fixes RHBZ#2167141 + +* Wed Dec 21 2022 Fabio Valentini - 0.11.8-1 +- Update to version 0.11.8; Fixes RHBZ#2154577 + +* Wed Aug 03 2022 Fabio Valentini - 0.11.7-1 +- Update to version 0.11.7; Fixes RHBZ#2114949 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.11.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu May 12 2022 Fabio Valentini - 0.11.6-1 +- Update to version 0.11.6; Fixes RHBZ#2080684 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.11.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.11.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.11.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.11.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 11 2020 Josh Stone - 0.11.5-1 +- Update to 0.11.5 + +* Tue May 05 2020 Josh Stone - 0.11.4-1 +- Update to 0.11.4 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.11.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Dec 05 10:17:12 CET 2019 Igor Gnatenko - 0.11.3-1 +- Update to 0.11.3 + +* Sat Nov 23 2019 Josh Stone - 0.11.2-1 +- Update to 0.11.2 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.11.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 16:54:49 CEST 2019 Igor Gnatenko - 0.11.1-2 +- Regenerate + +* Thu May 09 14:32:23 CEST 2019 Igor Gnatenko - 0.11.1-1 +- Update to 0.11.1 + +* Tue Feb 26 2019 Josh Stone - 0.10.5-1 +- Update to 0.10.5 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.10.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Nov 10 2018 Igor Gnatenko - 0.10.4-6 +- Fix description + +* Fri Nov 09 2018 Robert-André Mauchin - 0.10.4-5 +- Adapt to new packaging + +* Sat Jul 28 2018 Igor Gnatenko - 0.10.4-4 +- Rebuild to trigger tests + +* Sat Jul 21 2018 Igor Gnatenko - 0.10.4-3 +- Run tests in infrastructure + +* Sat Jul 14 2018 Fedora Release Engineering - 0.10.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Apr 02 2018 Igor Gnatenko - 0.10.4-1 +- Update to 0.10.4 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.10.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.10.3-2 +- Rebuild for rust-packaging v5 + +* Wed Dec 20 2017 Igor Gnatenko - 0.10.3-1 +- Update to 0.10.3 + +* Mon Nov 13 2017 Igor Gnatenko - 0.10.2-1 +- Update to 0.10.2 + +* Sat Jul 01 2017 Igor Gnatenko - 0.10.1-1 +- Update to 0.10.1 + +* Thu Jun 15 2017 Igor Gnatenko - 0.10.0-1 +- Initial package +