From d1b447f3445e8e5472698020d2db0ad14f4a7a28 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:13:11 +0300 Subject: [PATCH] import rust-libm-0.2.11-1.el10 --- .gitignore | 1 + .rust-libm.metadata | 1 + SOURCES/rust2rpm.toml | 3 + SPECS/rust-libm.spec | 183 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 188 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-libm.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-libm.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aeca744 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libm-0.2.11.crate diff --git a/.rust-libm.metadata b/.rust-libm.metadata new file mode 100644 index 0000000..0a2d33e --- /dev/null +++ b/.rust-libm.metadata @@ -0,0 +1 @@ +4f581b5ed2d2e6bc378c882da5b3cb7dc7aa8d9a SOURCES/libm-0.2.11.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..74f9184 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Libm in pure Rust" + diff --git a/SPECS/rust-libm.spec b/SPECS/rust-libm.spec new file mode 100644 index 0000000..c8f0628 --- /dev/null +++ b/SPECS/rust-libm.spec @@ -0,0 +1,183 @@ +## 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 libm + +Name: rust-libm +Version: 0.2.11 +Release: %autorelease +Summary: Libm in pure Rust + +License: MIT AND (MIT OR Apache-2.0) +URL: https://crates.io/crates/libm +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Libm in pure 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.txt +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTING.md +%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}+force-soft-floats-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-soft-floats-devel %{_description} + +This package contains library source intended for building other packages which +use the "force-soft-floats" feature of the "%{crate}" crate. + +%files -n %{name}+force-soft-floats-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-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.2.11-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Oct 30 2024 Fabio Valentini - 0.2.11-1 +- Update to version 0.2.11; Fixes RHBZ#2321976 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Oct 07 2023 Fabio Valentini - 0.2.8-1 +- Update to version 0.2.8; Fixes RHBZ#2242457 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.2.7-1 +- Update to version 0.2.7; Fixes RHBZ#2204478 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.2.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Nov 11 2022 Fabio Valentini - 0.2.6-1 +- Update to version 0.2.6; Fixes RHBZ#2141165 + +* Sat Aug 20 2022 Fabio Valentini - 0.2.5-1 +- Update to version 0.2.5; Fixes RHBZ#2117097 + +* Sat Aug 06 2022 Fabio Valentini - 0.2.3-1 +- Update to version 0.2.3; Fixes RHBZ#2112500 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Feb 07 2022 Fabio Valentini - 0.2.2-1 +- Update to version 0.2.2; Fixes RHBZ#2051103 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Nov 28 2021 Igor Raits - 0.2.1-9 +- Regenerate + +* Fri Jul 23 2021 Fedora Release Engineering - 0.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Nov 28 15:17:50 CET 2019 Igor Gnatenko - 0.2.1-1 +- Update to 0.2.1 + +* Sun Sep 08 09:04:01 CEST 2019 Igor Gnatenko - 0.1.4-1 +- Update to 0.1.4 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 01 2019 Josh Stone - 0.1.3-1 +- Update to 0.1.3 + +* Mon Feb 04 2019 Igor Gnatenko - 0.1.2-3 +- Adapt for new packaging + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Sep 10 2018 Igor Gnatenko - 0.1.2-1 +- Initial package + +## END: Generated by rpmautospec