|
|
@ -2,35 +2,34 @@
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 2;
|
|
|
|
release_number = 1;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate backtrace
|
|
|
|
%global crate backtrace
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-backtrace
|
|
|
|
Name: rust-backtrace
|
|
|
|
Version: 0.3.67
|
|
|
|
Version: 0.3.69
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
|
|
|
|
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/backtrace
|
|
|
|
URL: https://crates.io/crates/backtrace
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: backtrace-fix-metadata-auto.diff
|
|
|
|
Patch: backtrace-fix-metadata-auto.diff
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# * drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# * drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
# * drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
# * exclude files for upstream CI
|
|
|
|
|
|
|
|
Patch: backtrace-fix-metadata.diff
|
|
|
|
Patch: backtrace-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
A library to acquire a stack trace (backtrace) at runtime in a Rust
|
|
|
|
A library to acquire a stack trace (backtrace) at runtime in a Rust
|
|
|
@ -162,12 +161,12 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
# drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# drop "accuracy" test (requires crates to be built in dylib mode)
|
|
|
|
# drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
# drop "current-exe-mismatch" test (fails on i686 for unknown reasons)
|
|
|
|
rm -r tests/accuracy/
|
|
|
|
rm -r tests/accuracy/
|
|
|
|
rm tests/current-exe-mismatch.rs
|
|
|
|
rm tests/current-exe-mismatch.rs
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
@ -188,9 +187,15 @@ rm tests/current-exe-mismatch.rs
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.67-2
|
|
|
|
* Wed Nov 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.69-1
|
|
|
|
|
|
|
|
- Update to version 0.3.69; Fixes RHBZ#2218705
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.67-3
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.67-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.67-2
|
|
|
|
* Thu Mar 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.67-2
|
|
|
|
- Skip a test that fails on i686 for unknown reasons
|
|
|
|
- Skip a test that fails on i686 for unknown reasons
|
|
|
|
|
|
|
|
|
|
|
|