commit 4a39ef33c0b1e161c234d8db281f6784f4670c10 Author: tigro Date: Mon Jan 15 21:31:14 2024 +0300 import rust-hashlink-0.8.4-1.el9 diff --git a/.rust-hashlink.metadata b/.rust-hashlink.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/hashlink-0.8.4.crate b/SOURCES/hashlink-0.8.4.crate new file mode 100644 index 0000000..936a01d Binary files /dev/null and b/SOURCES/hashlink-0.8.4.crate differ diff --git a/SPECS/rust-hashlink.spec b/SPECS/rust-hashlink.spec new file mode 100644 index 0000000..b3ef5e9 --- /dev/null +++ b/SPECS/rust-hashlink.spec @@ -0,0 +1,144 @@ +## 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate hashlink + +Name: rust-hashlink +Version: 0.8.4 +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: rust-packaging >= 21 + +%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_no_tilde} -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 Arkady L. Shane - 0.8.4-1 +- Rebuilt for MSVSphere 9.3 + +* 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 +