From d4d35ddffea377cbc17a876d72da389cf37dc91d Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 21:51:16 +0300 Subject: [PATCH] import rust-memoffset0.8-0.8.0-1.el9 --- .rust-memoffset0.8.metadata | 0 SOURCES/memoffset-0.8.0.crate | Bin 0 -> 8912 bytes SPECS/rust-memoffset0.8.spec | 94 ++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 .rust-memoffset0.8.metadata create mode 100644 SOURCES/memoffset-0.8.0.crate create mode 100644 SPECS/rust-memoffset0.8.spec diff --git a/.rust-memoffset0.8.metadata b/.rust-memoffset0.8.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/memoffset-0.8.0.crate b/SOURCES/memoffset-0.8.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..acf2af646e2bad403f6d3034e547567ed42c1b98 GIT binary patch literal 8912 zcmV;>A}`$^iwFn+00002|7~S$Z)Rq5WpphtE;ueQE@N_GbY%eTJ^gpvwyyixe+85D zY<6eMANgpWyYwwh(>C`tNl%jAy`7vKTb5{Bt1S8IBZ=FW|NQ|VDN(Zgkv7fN%|5%g zu}p#>2!H?xLL)x%`~8qdwT7{4H0p+B1_QryZG|1j>-)wZq3`|hm7fNDcDA+(pW~;w zxs&`2-+sU+jTSun;SoM@7?}ZMKm0>KpG%Cb51eSd&G1k75)REKd|PkyO>5J%c6PQ} zw%uqxGdFiyJG<7FW%tZhzp=%w#&*MQHrJusT@}HM&1eW*gUo{f)=PIktUiD7&nPed zzzf5;SHJOtkA2s_3G0?)Oh)cQ$iEcu{J-0+X6uJ$V{50`Xf;}!_`JEZx!L@_T z@8si|Bi?2QN2QYQwb|u34u@4Xj$OAC@c+a-jIK(hKm15;^uDK?5pr67hfG>lI=*`&3i~{FYeZ#H_viQ`XhuL#^=24GFX6AwC z42F?Akt6VNs6f zk-cd&|I27Fw!uza8^;Ob@z@U{ZnJXV3E%-tECiAfWtbO_c;Hy9?{L=+nd9M*u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eh9Pz+xoo>&m $@-k}X4<4gop&0N)3up!{rYQCvyQU$rClujD5NjF99-5{Wv?9Z zUU7T{I_YM;s5Wg5|Ghr7V*kRUy~NkK*D|TY9+>64lE(9vD}UTm&Q__dvh4RIR!u;h zn&x{m2$NFP%gpadSzE`-&$yCLq6lXT&N&7PHAh~nx1vmm%n167%NvqMpR$c7fA!sd4W+@TbKCfBF^^hJ{`{GIGN=82grFYw;=Lz_l(<`EZ>>J7&+4=E=l=oSUFEU>zyJVy%WD?^ literal 0 HcmV?d00001 diff --git a/SPECS/rust-memoffset0.8.spec b/SPECS/rust-memoffset0.8.spec new file mode 100644 index 0000000..6e81025 --- /dev/null +++ b/SPECS/rust-memoffset0.8.spec @@ -0,0 +1,94 @@ +## 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 memoffset + +Name: rust-memoffset0.8 +Version: 0.8.0 +Release: %autorelease +Summary: Offset_of functionality for Rust structs + +License: MIT +URL: https://crates.io/crates/memoffset +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Offset_of functionality for Rust structs.} + +%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}/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}+unstable_const-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable_const-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable_const" feature of the "%{crate}" crate. + +%files -n %{name}+unstable_const-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.0-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Jul 06 2023 Fabio Valentini - 0.8.0-1 +- Initial import (memoffset 0.8 compat package)