From 5d3fe3ae9348342adc478805da246e388f3907d8 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:51:58 +0300 Subject: [PATCH] import rust-hashlink-0.9.1-1.el10 --- .gitignore | 1 + .rust-hashlink.metadata | 1 + SPECS/rust-hashlink.spec | 158 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 160 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-hashlink.metadata create mode 100644 SPECS/rust-hashlink.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5d396f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hashlink-0.9.1.crate diff --git a/.rust-hashlink.metadata b/.rust-hashlink.metadata new file mode 100644 index 0000000..f6d0e26 --- /dev/null +++ b/.rust-hashlink.metadata @@ -0,0 +1 @@ +9f73c3369c8834514c106435efc3e24bd84a2522 SOURCES/hashlink-0.9.1.crate diff --git a/SPECS/rust-hashlink.spec b/SPECS/rust-hashlink.spec new file mode 100644 index 0000000..c6167ed --- /dev/null +++ b/SPECS/rust-hashlink.spec @@ -0,0 +1,158 @@ +## 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 hashlink + +Name: rust-hashlink +Version: 0.9.1 +Release: %autorelease +Summary: HashMap-like containers that hold their key-value pairs in a user controllable order + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/hashlink +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +HashMap-like containers that hold their key-value pairs in a user +controllable order.} + +%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}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde_impl-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_impl-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_impl" feature of the "%{crate}" crate. + +%files -n %{name}+serde_impl-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.9.1-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 23 2024 Fabio Valentini - 0.9.1-1 +- Update to version 0.9.1 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Apr 09 2024 Fabio Valentini - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#2257362 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 28 2023 Fabio Valentini - 0.8.4-1 +- Update to version 0.8.4; Fixes RHBZ#2235469 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.8.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 05 2023 Fabio Valentini - 0.8.3-1 +- Update to version 0.8.3; Fixes RHBZ#2214115 + +* Wed May 17 2023 Fabio Valentini - 0.8.2-1 +- Update to version 0.8.2; Fixes RHBZ#2203741 + +* Tue Mar 07 2023 Fabio Valentini - 0.8.1-1 +- Update to version 0.8.1; Fixes RHBZ#2063989 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Nov 13 2021 Robert-André Mauchin - 0.7.0-1 +- Update to 0.7.0 Close: rhbz#1956578 + +* Sat Nov 13 2021 Robert-André Mauchin - 0.6.0-4 +- Update to 0.7.0 Close: rhbz#1956578 + +* Tue Jul 27 2021 Fedora Release Engineering - 0.6.0-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Apr 08 2021 Fabio Valentini - 0.6.0-1 +- Initial package + +## END: Generated by rpmautospec