From 40c4b229e00a890eb3973915a5fd48d8550d2e93 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:57:00 +0300 Subject: [PATCH] import rust-rmp-0.8.14-2.el10 --- .gitignore | 1 + .rust-rmp.metadata | 1 + SPECS/rust-rmp.spec | 152 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-rmp.metadata create mode 100644 SPECS/rust-rmp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..009e4b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rmp-0.8.14.crate diff --git a/.rust-rmp.metadata b/.rust-rmp.metadata new file mode 100644 index 0000000..102aedd --- /dev/null +++ b/.rust-rmp.metadata @@ -0,0 +1 @@ +42697b0ef6057c97bb0e9667d9c12891598a0a8a SOURCES/rmp-0.8.14.crate diff --git a/SPECS/rust-rmp.spec b/SPECS/rust-rmp.spec new file mode 100644 index 0000000..a47f69a --- /dev/null +++ b/SPECS/rust-rmp.spec @@ -0,0 +1,152 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 rmp + +Name: rust-rmp +Version: 0.8.14 +Release: %autorelease +Summary: Pure Rust MessagePack serialization implementation + +License: MIT +URL: https://crates.io/crates/rmp +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Pure Rust MessagePack serialization implementation.} + +%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 +%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}+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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.8.14-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.8.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Apr 24 2024 Fabio Valentini - 0.8.14-1 +- Update to version 0.8.14; Fixes RHBZ#2275308 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 27 2023 Fabio Valentini - 0.8.12-1 +- Update to version 0.8.12; Fixes RHBZ#2224603 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.8.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.8.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.8.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jul 16 2022 Fabio Valentini - 0.8.11-1 +- Update to version 0.8.11; Fixes RHBZ#1924125 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.8.9-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.8.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.8.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Josh Stone - 0.8.9-1 +- Update to 0.8.9 + +* Thu Sep 12 23:44:23 CEST 2019 Robert-André Mauchin - 0.8.8-1 +- Release 0.8.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.8.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 21 10:08:59 CEST 2019 Igor Gnatenko - 0.8.7-3 +- Regenerate + +* Thu Apr 11 14:36:33 CEST 2019 Igor Gnatenko - 0.8.7-2 +- Run tests in infrastructure + +* Thu Mar 28 07:18:34 CET 2019 Robert-André Mauchin - 0.8.7-1 +- Initial package + +## END: Generated by rpmautospec