You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
3.1 KiB
112 lines
3.1 KiB
1 year ago
|
## 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 <tigro@msvsphere-os.ru> - 0.1.26-1
|
||
|
- Rebuilt for MSVSphere 9.2
|
||
|
|
||
|
* Fri Jul 21 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.26-1
|
||
|
- Update to version 0.1.26; Fixes RHBZ#2224484
|
||
|
|
||
|
* Tue Jul 11 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.25-1
|
||
|
- Update to version 0.1.25; Fixes RHBZ#2219472
|
||
|
|
||
|
* Thu Jun 08 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.23-1
|
||
|
- Update to version 0.1.23; Fixes RHBZ#2213348
|
||
|
|
||
|
* Wed Mar 22 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.22-1
|
||
|
- Update to version 0.1.22; Fixes RHBZ#2179494
|
||
|
|
||
|
* Thu Mar 16 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.21-1
|
||
|
- Update to version 0.1.21; Fixes RHBZ#2175578
|
||
|
|
||
|
* Mon Feb 27 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.20-1
|
||
|
- Update to version 0.1.20; Fixes RHBZ#2173386
|
||
|
|
||
|
* Thu Feb 09 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.19-1
|
||
|
- Update to version 0.1.19; Fixes RHBZ#2167559
|
||
|
|
||
|
* Mon Jan 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.17-1
|
||
|
- Update to version 0.1.17; Fixes RHBZ#2154586
|
||
|
|
||
|
* Tue Dec 13 2022 Fabio Valentini <decathorpe@gmail.com> - 0.1.16-1
|
||
|
- Update to version 0.1.16; Fixes RHBZ#2132845
|
||
|
|
||
|
* Wed Oct 05 2022 Fabio Valentini <decathorpe@gmail.com> - 0.1.15-8
|
||
|
- RPMAUTOSPEC: unresolvable merge
|