commit 1054a36f37a729b31b7434848b06fa5eac045fbd Author: MSVSphere Packaging Team Date: Fri Dec 20 15:17:07 2024 +0300 import rust-dary_heap-0.3.7-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a22d8a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dary_heap-0.3.7.crate diff --git a/.rust-dary_heap.metadata b/.rust-dary_heap.metadata new file mode 100644 index 0000000..cad429c --- /dev/null +++ b/.rust-dary_heap.metadata @@ -0,0 +1 @@ +6250278d418654235bc3657df10927742b183c80 SOURCES/dary_heap-0.3.7.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..72ba9f4 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +hide = [ + "unstable", + "unstable_nightly", +] + diff --git a/SPECS/rust-dary_heap.spec b/SPECS/rust-dary_heap.spec new file mode 100644 index 0000000..b646c09 --- /dev/null +++ b/SPECS/rust-dary_heap.spec @@ -0,0 +1,116 @@ +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate dary_heap + +Name: rust-dary_heap +Version: 0.3.7 +Release: %autorelease +Summary: D-ary heap + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/dary_heap +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A d-ary heap.} + +%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}/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}+extra-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+extra-devel %{_description} + +This package contains library source intended for building other packages which +use the "extra" feature of the "%{crate}" crate. + +%files -n %{name}+extra-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-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.3.7-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Nov 28 2024 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7; Fixes RHBZ#2319835 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.3.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Apr 28 2024 Davide Cavalca - 0.3.6-1 +- Initial import; Fixes: RHBZ#2277553 +## END: Generated by rpmautospec