commit f257d18e54927a90f08efd8c5cea8009e90cff2c Author: MSVSphere Packaging Team Date: Fri Dec 20 16:54:24 2024 +0300 import rust-rend-0.5.2-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b870563 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rend-0.5.2.crate diff --git a/.rust-rend.metadata b/.rust-rend.metadata new file mode 100644 index 0000000..433aa84 --- /dev/null +++ b/.rust-rend.metadata @@ -0,0 +1 @@ +e6cc66757a98187ebe04087b314f6afbf9700d66 SOURCES/rend-0.5.2.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..3e09818 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +hide = [ + "bytemuck-1", + "zerocopy-0_8", +] + diff --git a/SPECS/rust-rend.spec b/SPECS/rust-rend.spec new file mode 100644 index 0000000..1d6879d --- /dev/null +++ b/SPECS/rust-rend.spec @@ -0,0 +1,148 @@ +## 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 rend + +Name: rust-rend +Version: 0.5.2 +Release: %autorelease +Summary: Cross-platform, endian-aware primitives for Rust + +License: MIT +URL: https://crates.io/crates/rend +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Cross-platform, 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}/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}+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 + +%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.5.2-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Oct 20 2024 Fabio Valentini - 0.5.2-1 +- Update to version 0.5.2; Fixes RHBZ#2317951 + +* Sun Sep 22 2024 Benjamin A. Beasley - 0.5.1-1 +- Update to version 0.5.1; Fixex RHBZ#2311421 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.4.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Feb 04 2024 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2; Fixes RHBZ#2247923 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* 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 +## END: Generated by rpmautospec