commit 4f2203adfda5a7d604610c611c9fe435b6540386 Author: tigro Date: Sun Nov 19 23:46:51 2023 +0300 import rust-libm-0.2.8-1.el9 diff --git a/.rust-libm.metadata b/.rust-libm.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/libm-0.2.8.crate b/SOURCES/libm-0.2.8.crate new file mode 100644 index 0000000..7063eda Binary files /dev/null and b/SOURCES/libm-0.2.8.crate differ diff --git a/SPECS/rust-libm.spec b/SPECS/rust-libm.spec new file mode 100644 index 0000000..fd89e31 --- /dev/null +++ b/SPECS/rust-libm.spec @@ -0,0 +1,155 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate libm + +Name: rust-libm +Version: 0.2.8 +Release: %autorelease +Summary: Libm in pure Rust + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/libm +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+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 +* Sun Nov 19 2023 Arkady L. Shane - 0.2.8-1 +- Rebuilt for MSVSphere 9.2 + +* Sat Oct 07 2023 Fabio Valentini - 0.2.8-1 +- Update to version 0.2.8; Fixes RHBZ#2242457 + +* Wed May 17 2023 Fabio Valentini - 0.2.7-1 +- Update to version 0.2.7; Fixes RHBZ#2204478 + +* 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 +