commit 1e9461be8787a06b64bb52f3f23b6b4cd201cdfa Author: tigro Date: Mon Nov 20 12:20:58 2023 +0300 import rust-rend-0.4.1-1.el9 diff --git a/.rust-rend.metadata b/.rust-rend.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/rend-0.4.1.crate b/SOURCES/rend-0.4.1.crate new file mode 100644 index 0000000..0a46e96 Binary files /dev/null and b/SOURCES/rend-0.4.1.crate differ diff --git a/SPECS/rust-rend.spec b/SPECS/rust-rend.spec new file mode 100644 index 0000000..444bcbc --- /dev/null +++ b/SPECS/rust-rend.spec @@ -0,0 +1,167 @@ +## 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 rend + +Name: rust-rend +Version: 0.4.1 +Release: %autorelease +Summary: Endian-aware primitives for Rust + +License: MIT +URL: https://crates.io/crates/rend +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Endian-aware primitives for Rust.} + +%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 +%doc %{crate_instdir}/crates-io.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}+bytecheck-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytecheck-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytecheck" feature of the "%{crate}" crate. + +%files -n %{name}+bytecheck-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bytemuck-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytemuck-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytemuck" feature of the "%{crate}" crate. + +%files -n %{name}+bytemuck-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 + +%package -n %{name}+validation-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+validation-devel %{_description} + +This package contains library source intended for building other packages which +use the "validation" feature of the "%{crate}" crate. + +%files -n %{name}+validation-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 Nov 20 2023 Arkady L. Shane - 0.4.1-1 +- Rebuilt for MSVSphere 9.2 + +* Sun Sep 24 2023 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1; Fixes RHBZ#2240492 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Feb 28 2023 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0; Fixes RHBZ#2122420 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Dec 18 2021 Rémi Lauzier - 0.3.6-1 +- Update to version 0.3.6; Fixes RHBZ#2033907 + +* Fri Dec 10 2021 Rémi Lauzier - 0.3.5-1 +- Update to version 0.3.5; Fixes RHBZ#2028957 + +* Tue Nov 30 2021 Rémi Lauzier - 0.3.4-1 +- Update to version 0.3.4; Fixes RHBZ#2026459 + +* Fri Nov 19 2021 Rémi Lauzier - 0.3.3-1 +- Update to version 0.3.3; Fixes RHBZ#2025052 + +* Mon Aug 16 2021 Rémi Lauzier - 0.3.2-1 +- Update to version 0.3.2; Fixes RHBZ#1990967 + +* Thu Aug 05 2021 Rémi Lauzier - 0.3.1-2 +- Deactivate test on s390x and armv7hl + +* Thu Aug 05 2021 Rémi Lauzier - 0.3.1-1 +- Initial import; Fixes RHBZ#1980625