commit b759c25e84bda6aaeb4507d4c94c77e7aaf24ecc Author: MSVSphere Packaging Team Date: Fri Dec 20 17:15:07 2024 +0300 import rust-smawk-0.3.2-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a23b0f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/smawk-0.3.2.crate diff --git a/.rust-smawk.metadata b/.rust-smawk.metadata new file mode 100644 index 0000000..49e5c2f --- /dev/null +++ b/.rust-smawk.metadata @@ -0,0 +1 @@ +d6bb076ab98ca85209dd04257049cd64ce95f715 SOURCES/smawk-0.3.2.crate diff --git a/SOURCES/rust2rpm.conf b/SOURCES/rust2rpm.conf new file mode 100644 index 0000000..f718f93 --- /dev/null +++ b/SOURCES/rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + ndarray diff --git a/SPECS/rust-smawk.spec b/SPECS/rust-smawk.spec new file mode 100644 index 0000000..eb56725 --- /dev/null +++ b/SPECS/rust-smawk.spec @@ -0,0 +1,122 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 smawk + +Name: rust-smawk +Version: 0.3.2 +Release: %autorelease +Summary: Functions for finding row-minima in a totally monotone matrix + +License: MIT +URL: https://crates.io/crates/smawk +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Functions for finding row-minima in a totally monotone matrix.} + +%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 +%{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 + +%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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.3.2-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Sep 19 2023 Fabio Valentini - 0.3.2-1 +- Update to version 0.3.2; Fixes RHBZ#2239350 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon May 22 2023 Fabio Valentini - 0.3.1-7 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Mar 03 2021 Fabio Valentini - 0.3.1-1 +- Update to version 0.3.1. +- Fixes RHBZ#1922635 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 29 17:22:57 CET 2020 Igor Raits - 0.3.0-1 +- Drop ndarray feature due to the broken deps + +* Sun Dec 27 14:56:50 CET 2020 Igor Raits - 0.3.0-1 +- Initial package + +## END: Generated by rpmautospec