commit 873f820c5a7cdbc664ca4d43a5f80513a4694eae Author: MSVSphere Packaging Team Date: Fri Dec 20 14:59:28 2024 +0300 import rust-bytecheck-0.8.0-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..840813e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bytecheck-0.8.0.crate diff --git a/.rust-bytecheck.metadata b/.rust-bytecheck.metadata new file mode 100644 index 0000000..7dd9a03 --- /dev/null +++ b/.rust-bytecheck.metadata @@ -0,0 +1 @@ +0c7e3774763e97e1dbe2c57ecb7f2d7c427498da SOURCES/bytecheck-0.8.0.crate diff --git a/SPECS/rust-bytecheck.spec b/SPECS/rust-bytecheck.spec new file mode 100644 index 0000000..94ebe9b --- /dev/null +++ b/SPECS/rust-bytecheck.spec @@ -0,0 +1,160 @@ +## 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 bytecheck + +Name: rust-bytecheck +Version: 0.8.0 +Release: %autorelease +Summary: Memory validation framework for Rust + +License: MIT +URL: https://crates.io/crates/bytecheck +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Memory validation framework 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}/example.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}+simdutf8-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simdutf8-devel %{_description} + +This package contains library source intended for building other packages which +use the "simdutf8" feature of the "%{crate}" crate. + +%files -n %{name}+simdutf8-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+uuid-1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+uuid-1-devel %{_description} + +This package contains library source intended for building other packages which +use the "uuid-1" feature of the "%{crate}" crate. + +%files -n %{name}+uuid-1-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.8.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Sep 22 2024 Benjamin A. Beasley - 0.8.0-1 +- Update to version 0.8.0; Fixes RHBZ#2173812 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.6.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Feb 04 2024 Fabio Valentini - 0.6.12-1 +- Update to version 0.6.12 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.11-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Sep 26 2023 Fabio Valentini - 0.6.11-3 +- Skip tests that fail with Rust 1.71 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.6.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon May 22 2023 Fabio Valentini - 0.6.11-1 +- Update to version 0.6.11 + +* Tue Feb 28 2023 Fabio Valentini - 0.6.10-1 +- Update to version 0.6.10 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.6.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 27 2022 Fabio Valentini - 0.6.9-1 +- Update to version 0.6.9; Fixes RHBZ#2110246 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 06 2022 Fabio Valentini - 0.6.8-1 +- Update to version 0.6.8; Fixes RHBZ#2081203 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Dec 10 2021 Rémi Lauzier - 0.6.7-1 +- Update to version 0.6.7; Fixes RHBZ#2028945 + +* Sun Nov 28 2021 Rémi Lauzier - 0.6.6-1 +- Update to version 0.6.6; Fixes RHBZ#2026710 + +* Sun Aug 15 2021 Rémi Lauzier - 0.6.5-1 +- Update to version 0.6.5; Fixes RHBZ#1990955 + +* Thu Aug 05 2021 Rémi Lauzier - 0.6.4-2 +- Deactivate test on s390x + +* Thu Aug 05 2021 Rémi Lauzier - 0.6.4-1 +- Initial import; Fixes RHBZ#1980620 +## END: Generated by rpmautospec