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.
rust-backtrace/rust-backtrace.spec

340 lines
10 KiB

# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate backtrace
Name: rust-%{crate}
Version: 0.3.55
Release: 2%{?dist}
Summary: Library to acquire a stack trace (backtrace) at runtime in a Rust program
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/backtrace
6 years ago
Source: %{crates_source}
# Initial patched metadata
# * No windows deps
# * No deprecated/internal features
Patch0: backtrace-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Library to acquire a stack trace (backtrace) at runtime in a Rust program.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
5 years ago
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{ci/,.github/,.gitmodules}
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+addr2line-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+addr2line-devel %{_description}
This package contains library source intended for building other packages
which use "addr2line" feature of "%{crate}" crate.
%files -n %{name}+addr2line-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+backtrace-sys-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+backtrace-sys-devel %{_description}
This package contains library source intended for building other packages
which use "backtrace-sys" feature of "%{crate}" crate.
%files -n %{name}+backtrace-sys-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+cpp_demangle-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cpp_demangle-devel %{_description}
This package contains library source intended for building other packages
which use "cpp_demangle" feature of "%{crate}" crate.
%files -n %{name}+cpp_demangle-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+gimli-symbolize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gimli-symbolize-devel %{_description}
This package contains library source intended for building other packages
which use "gimli-symbolize" feature of "%{crate}" crate.
%files -n %{name}+gimli-symbolize-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+libbacktrace-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+libbacktrace-devel %{_description}
This package contains library source intended for building other packages
which use "libbacktrace" feature of "%{crate}" crate.
%files -n %{name}+libbacktrace-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+miniz_oxide-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+miniz_oxide-devel %{_description}
This package contains library source intended for building other packages
which use "miniz_oxide" feature of "%{crate}" crate.
%files -n %{name}+miniz_oxide-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+object-devel
Summary: %{summary}
BuildArch: noarch
5 years ago
%description -n %{name}+object-devel %{_description}
This package contains library source intended for building other packages
5 years ago
which use "object" feature of "%{crate}" crate.
5 years ago
%files -n %{name}+object-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+rustc-serialize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustc-serialize-devel %{_description}
This package contains library source intended for building other packages
which use "rustc-serialize" feature of "%{crate}" crate.
%files -n %{name}+rustc-serialize-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serialize-rustc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serialize-rustc-devel %{_description}
This package contains library source intended for building other packages
which use "serialize-rustc" feature of "%{crate}" crate.
%files -n %{name}+serialize-rustc-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serialize-serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serialize-serde-devel %{_description}
This package contains library source intended for building other packages
which use "serialize-serde" feature of "%{crate}" crate.
%files -n %{name}+serialize-serde-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
6 years ago
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
5 years ago
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
6 years ago
%prep
6 years ago
%autosetup -n %{crate}-%{version_no_tilde} -p1
# drop accuracy test (requires stuff to be built as dylib.so)
rm -r tests/accuracy/
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
# https://github.com/rust-lang/backtrace-rs/issues/204
%ifarch %{ix86} ppc64le aarch64 s390x
%cargo_test || :
%else
5 years ago
# some tests can't find symbols in release mode
%cargo_test -- -- --skip smoke_test_frames
%endif
%endif
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.55-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 02 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.55-1
- Update to version 0.3.55.
- Fixes RHBZ#1900082
* Sat Nov 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.54-1
- Update to version 0.3.54.
- Fixes RHBZ#1883637
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.50-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
* Wed Jul 22 2020 Josh Stone <jistone@redhat.com> - 0.3.50-1
- Update to 0.3.50
5 years ago
* Mon Jun 15 2020 Josh Stone <jistone@redhat.com> - 0.3.49-1
- Update to 0.3.49
5 years ago
* Thu May 14 2020 Josh Stone <jistone@redhat.com> - 0.3.48-1
- Update to 0.3.48
5 years ago
* Tue May 12 2020 Josh Stone <jistone@redhat.com> - 0.3.47-1
- Update to 0.3.47
5 years ago
* Wed Apr 01 2020 Josh Stone <jistone@redhat.com> - 0.3.46-1
- Update to 0.3.46
5 years ago
* Wed Mar 04 2020 Josh Stone <jistone@redhat.com> - 0.3.45-1
- Update to 0.3.45
* Wed Feb 26 2020 Josh Stone <jistone@redhat.com> - 0.3.44-2
- Bump goblin to 0.2
5 years ago
* Wed Feb 19 2020 Josh Stone <jistone@redhat.com> - 0.3.44-1
- Update to 0.3.44
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.40-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago
* Mon Dec 16 2019 Josh Stone <jistone@redhat.com> - 0.3.40-1
- Update to 0.3.40
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.30-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 22 09:21:35 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.30-2
- Regenerate
6 years ago
* Tue Jun 04 2019 Josh Stone <jistone@redhat.com> - 0.3.30-1
- Update to 0.3.30
6 years ago
* Mon Jun 03 2019 Josh Stone <jistone@redhat.com> - 0.3.28-1
- Update to 0.3.28
6 years ago
* Sat Jun 01 2019 Josh Stone <jistone@redhat.com> - 0.3.26-1
- Update to 0.3.26
* Wed May 15 08:23:12 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.16-1
- Update to 0.3.16
6 years ago
* Fri Apr 05 2019 Josh Stone <jistone@redhat.com> - 0.3.15-1
- Update to 0.3.15
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.14-2
- Do not pull optional dependencies
6 years ago
* Tue Feb 19 2019 Josh Stone <jistone@redhat.com> - 0.3.14-1
- Update to 0.3.14
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6 years ago
* Thu Jan 10 2019 Josh Stone <jistone@redhat.com> - 0.3.13-1
- Update to 0.3.13
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.12-2
- Run tests in infrastructure
6 years ago
* Wed Dec 12 2018 Josh Stone <jistone@redhat.com> - 0.3.12-1
- Update to 0.3.12
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-3
- Adapt to new packaging
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7 years ago
* Fri Jun 29 2018 Josh Stone <jistone@redhat.com> - 0.3.9-1
- Update to 0.3.9
* Wed May 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.8-1
- Update to 0.3.8
7 years ago
* Fri May 04 2018 Josh Stone <jistone@redhat.com> - 0.3.7-1
- Update to 0.3.7
7 years ago
* Sat Apr 14 2018 Josh Stone <jistone@redhat.com> - 0.3.6-1
- Update to 0.3.6
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-2
- Rebuild for rust-packaging v5
* Thu Jan 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-1
- Initial package