2022-07-15 09:13:24 +00:00
|
|
|
# Generated by rust2rpm 21
|
2019-02-24 13:24:52 +00:00
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global crate rpick
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
2022-09-11 15:25:51 +00:00
|
|
|
Version: 0.8.11
|
2023-02-05 13:49:40 +00:00
|
|
|
Release: 4%{?dist}
|
2019-02-24 13:24:52 +00:00
|
|
|
Summary: Helps you pick items from a list by various algorithms
|
|
|
|
|
2022-09-11 15:25:51 +00:00
|
|
|
# Upstream license specification: GPL-3.0-only
|
|
|
|
License: GPL-3.0-only
|
2019-02-24 13:24:52 +00:00
|
|
|
URL: https://crates.io/crates/rpick
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
2022-07-15 09:13:24 +00:00
|
|
|
BuildRequires: rust-packaging >= 21
|
2019-02-24 13:24:52 +00:00
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
%global _description %{expand:
|
|
|
|
Helps you pick items from a list by various algorithms. Example uses: pick a
|
|
|
|
restaurant you haven't been to in a while, or an album to listen to.}
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
2022-07-15 09:13:24 +00:00
|
|
|
# * ASL 2.0
|
|
|
|
# * ASL 2.0 or Boost
|
2020-02-16 06:51:06 +00:00
|
|
|
# * ASL 2.0 or MIT
|
2022-07-15 09:13:24 +00:00
|
|
|
# * BSD
|
2020-03-19 13:59:19 +00:00
|
|
|
# * MIT
|
|
|
|
# * MIT or ASL 2.0
|
2022-07-15 09:13:24 +00:00
|
|
|
# * Unlicense or MIT
|
|
|
|
# * zlib or ASL 2.0 or MIT
|
2022-09-11 15:25:51 +00:00
|
|
|
License: GPL-3.0-only AND Apache-2.0 AND BSD AND MIT
|
2019-02-24 13:24:52 +00:00
|
|
|
|
2019-04-11 14:12:43 +00:00
|
|
|
%description -n %{crate} %{_description}
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE
|
2022-07-15 09:13:24 +00:00
|
|
|
%doc CHANGELOG.md
|
2019-02-24 13:24:52 +00:00
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/rpick
|
|
|
|
|
2019-04-11 14:12:43 +00:00
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
2022-07-15 09:13:24 +00:00
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "%{crate}" crate.
|
2019-04-11 14:12:43 +00:00
|
|
|
|
|
|
|
%files devel
|
2022-07-15 09:13:24 +00:00
|
|
|
%license %{crate_instdir}/LICENSE
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
%{crate_instdir}/
|
2019-04-11 14:12:43 +00:00
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
2022-07-15 09:13:24 +00:00
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
2019-04-11 14:12:43 +00:00
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
2022-07-15 09:13:24 +00:00
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
2019-04-11 14:12:43 +00:00
|
|
|
|
2019-02-24 13:24:52 +00:00
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
|
2019-06-19 11:20:57 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
2019-02-24 13:24:52 +00:00
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
2023-01-11 17:34:52 +00:00
|
|
|
%ifarch %{arm} ppc64le
|
|
|
|
# * doctests fail to compile on armv7hl with LLVM 14:
|
2022-07-15 12:20:05 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2086106
|
2023-01-11 17:34:52 +00:00
|
|
|
# * doctests fail to compile on ppc64le with LLVM 15:
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2142648
|
2022-07-15 12:20:05 +00:00
|
|
|
%cargo_test -- --lib
|
|
|
|
%else
|
2019-02-24 13:24:52 +00:00
|
|
|
%cargo_test
|
|
|
|
%endif
|
2022-07-15 12:20:05 +00:00
|
|
|
%endif
|
2019-02-24 13:24:52 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-02-05 13:49:40 +00:00
|
|
|
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.8.11-4
|
|
|
|
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
|
|
|
2023-01-21 01:04:49 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-11 17:34:52 +00:00
|
|
|
* Wed Jan 11 2023 Fabio Valentini <decathorpe@gmail.com> - 0.8.11-2
|
|
|
|
- Disable doctests on ppc64le to work around a compiler crash on LLVM 15.
|
|
|
|
|
2022-09-11 15:25:51 +00:00
|
|
|
* Sun Sep 11 2022 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.8.11-1
|
|
|
|
- Update to 0.8.11 (#2060236).
|
|
|
|
|
2022-08-02 22:57:37 +00:00
|
|
|
* Tue Aug 02 2022 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.8.10-1
|
|
|
|
- Update to 0.8.10.
|
|
|
|
|
2022-07-23 06:17:55 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-15 12:20:05 +00:00
|
|
|
* Fri Jul 15 2022 Fabio Valentini <decathorpe@gmail.com> - 0.8.7-5
|
|
|
|
- Skip doctests on armv7hl due to rustc / LLVM 14 crashes.
|
|
|
|
|
2022-07-15 09:13:24 +00:00
|
|
|
* Fri Jul 15 2022 Fabio Valentini <decathorpe@gmail.com> - 0.8.7-4
|
|
|
|
- Bump mockall dev-dependency from 0.10 to 0.11.
|
|
|
|
|
2022-02-15 15:31:43 +00:00
|
|
|
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.8.7-3
|
|
|
|
- Rebuild with package notes
|
|
|
|
|
2022-01-21 22:49:10 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-11-26 22:46:53 +00:00
|
|
|
* Fri Nov 26 17:31:29 EST 2021 Randy Barlow <randy@electronsweatshop.com> - 0.8.7-1
|
|
|
|
- Update to 0.8.7 (#1861179).
|
|
|
|
|
2021-07-23 15:41:45 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-27 18:54:17 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|