From 6bb932b6410f1becea28023ac465beb6499cfd37 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 22:39:38 +0300 Subject: [PATCH] import rust-sha2-asm-0.6.3-1.el9 --- .rust-sha2-asm.metadata | 0 SOURCES/sha2-asm-0.6.3.crate | Bin 0 -> 12443 bytes SPECS/rust-sha2-asm.spec | 92 +++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 .rust-sha2-asm.metadata create mode 100644 SOURCES/sha2-asm-0.6.3.crate create mode 100644 SPECS/rust-sha2-asm.spec diff --git a/.rust-sha2-asm.metadata b/.rust-sha2-asm.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/sha2-asm-0.6.3.crate b/SOURCES/sha2-asm-0.6.3.crate new file mode 100644 index 0000000000000000000000000000000000000000..fad9964ff1d5126e6124703e8af94fa567a5103c GIT binary patch literal 12443 zcmYLuby%BEur*F`iaWHp1$Qq6io2Dd#ogVtIK>HCyaj^0TLZ;QX^`R)+@W|b{J!Vj zFWL9mGxP45Gc&t??32*Ozj}r6{6T_y*qZZlntM2Lasvbbe1K2x=AKpvM?oPzOTwvZ z4@-AMwl*Emf-jaxC^EbY3#~+Qj6G@)5r{<4qkAwe<4lWS1H(bgrxTS`n_i?3pHVQh z(l>Hcn zd#|gfy}29%&9!%g)!yf=*GU!4dnb8^APmHv((vDRkIsw_Y!iRR$)ZU@!2i%U;@yU7Dm$ubY2`WnV!QnXFPSu2mlpQ{dMr{I{Wc#UvH&!2~@ z2c5Ab$C?c@}c!msm+Ip+N#JbYd28g(18 zWRvLn3Bl4O4rFv$ldc$V`_V6sGoWutHp4L*h`tu`e7Ldw0r~Xt%y(_oX^*!?z&N@z zz6tvu9c#;CCdZHIppPnY^)tK%Ses4r>B9!tY9v^Qea>S=oO!Gy)qS`&axL>I!%cFI zhAOibjZsh(kYfD=tKwJ1@FfyQ?^z3a?ZXj^Y9i#+3a6{wWqAATs)<@H1aBUKc2C>r zxs-n0E5o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I*_+qN}83KC1hHh?8T3*Q@|F z#@$R075GLxcetKHxFEe{em`m%!zOIl)LgxCI@a#)5UCc+((;$BKH|m2d*_Y=^OX1& zYb{Bb{MLemnSN>u5hmlefTHc@?r{l&qcf+goRxPizippi11Q!qvPTP52`d{qHmwdL ztFxsBzynjAO&A*@YL?8JaR5w^9o+|FdMDZ6f}`vTJvbqd4@=qhlzhRk>FsWCT&jK69RpLWi9IaL#7CwFwN=p69UR0?uh{w=UQL zwdXkOd;;f0v|F!igW5A4cJ#qH+U?df&qkWVjxsoh{+Y7{YEN<4kpkyjv{@Hyg4z=u zcKEXn|p{UfaZKbb+7NDuw*!;M``>kf{vyt{+?!L3~LSJ$YWD?R_c#JL~X z5uaV6f}}RuftuPLveAydC)@FWRW@Mfn?|_$XE!99yox0HqxFE8D&OjOH%;dFs;xF= zw;J`XO_sc(ITc>vjvkZBiv6tv;~bQUMEOoGwXG4mkqeWD-+y}yqhybf9mxI$jPX~R zlRy725#`_fEgVLFCrzn{uhzzgecJYvap~9Y}&?ZgF rSmg0fzqLFMxp$J#6sA>skr;B<&_6r%@}<3j!I7DZwbu|h5E1?d&1UyE literal 0 HcmV?d00001 diff --git a/SPECS/rust-sha2-asm.spec b/SPECS/rust-sha2-asm.spec new file mode 100644 index 0000000..cf09ebe --- /dev/null +++ b/SPECS/rust-sha2-asm.spec @@ -0,0 +1,92 @@ +## 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 sha2-asm + +# compile and run tests only on supported architectures +%global supported_arches x86_64 %{ix86} aarch64 + +Name: rust-sha2-asm +Version: 0.6.3 +Release: %autorelease +Summary: Assembly implementation of SHA-2 compression functions + +License: MIT +URL: https://crates.io/crates/sha2-asm +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Assembly implementation of SHA-2 compression functions.} + +%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 +%{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 + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%ifarch %{supported_arches} +%cargo_build +%endif + +%install +%cargo_install + +%if %{with check} +%ifarch %{supported_arches} +%check +%cargo_test +%endif +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.6.3-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Nov 09 2023 Fabio Valentini - 0.6.3-1 +- Update to version 0.6.3; Fixes RHBZ#2248904 + +* Fri Jul 21 2023 Fabio Valentini - 0.6.2-1 +- Initial import (#2223636)