commit 2484dbdf7203f6f49639450846ceb041ec11d66b Author: tigro Date: Mon Nov 20 11:40:21 2023 +0300 import rust-no-panic-0.1.26-1.el9 diff --git a/.rust-no-panic.metadata b/.rust-no-panic.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/no-panic-0.1.26.crate b/SOURCES/no-panic-0.1.26.crate new file mode 100644 index 0000000..334a4ac Binary files /dev/null and b/SOURCES/no-panic-0.1.26.crate differ diff --git a/SPECS/rust-no-panic.spec b/SPECS/rust-no-panic.spec new file mode 100644 index 0000000..5669cd0 --- /dev/null +++ b/SPECS/rust-no-panic.spec @@ -0,0 +1,111 @@ +## 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate no-panic + +Name: rust-no-panic +Version: 0.1.26 +Release: %autorelease +Summary: Attribute macro to require that the compiler prove a function can't ever panic + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/no-panic +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Attribute macro to require that the compiler prove a function can't ever +panic.} + +%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}/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 +* Mon Nov 20 2023 Arkady L. Shane - 0.1.26-1 +- Rebuilt for MSVSphere 9.2 + +* Fri Jul 21 2023 Fabio Valentini - 0.1.26-1 +- Update to version 0.1.26; Fixes RHBZ#2224484 + +* Tue Jul 11 2023 Fabio Valentini - 0.1.25-1 +- Update to version 0.1.25; Fixes RHBZ#2219472 + +* Thu Jun 08 2023 Fabio Valentini - 0.1.23-1 +- Update to version 0.1.23; Fixes RHBZ#2213348 + +* Wed Mar 22 2023 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2179494 + +* Thu Mar 16 2023 Fabio Valentini - 0.1.21-1 +- Update to version 0.1.21; Fixes RHBZ#2175578 + +* Mon Feb 27 2023 Fabio Valentini - 0.1.20-1 +- Update to version 0.1.20; Fixes RHBZ#2173386 + +* Thu Feb 09 2023 Fabio Valentini - 0.1.19-1 +- Update to version 0.1.19; Fixes RHBZ#2167559 + +* Mon Jan 30 2023 Fabio Valentini - 0.1.17-1 +- Update to version 0.1.17; Fixes RHBZ#2154586 + +* Tue Dec 13 2022 Fabio Valentini - 0.1.16-1 +- Update to version 0.1.16; Fixes RHBZ#2132845 + +* Wed Oct 05 2022 Fabio Valentini - 0.1.15-8 +- RPMAUTOSPEC: unresolvable merge