2021-04-05 14:57:13 +00:00
|
|
|
# Generated by rust2rpm 17
|
|
|
|
%bcond_without check
|
|
|
|
%global __cargo_skip_build 0
|
|
|
|
|
|
|
|
%global crate sevctl
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
2022-01-04 16:55:36 +00:00
|
|
|
Version: 0.2.0
|
2022-02-15 15:31:28 +00:00
|
|
|
Release: 3%{?dist}
|
2021-04-05 14:57:13 +00:00
|
|
|
Summary: Administrative utility for AMD SEV
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://crates.io/crates/sevctl
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
2022-01-05 10:25:16 +00:00
|
|
|
# SEV is an AMD x86_64 CPU feature so doesn't make sense to
|
|
|
|
# try to build on other arches
|
|
|
|
ExclusiveArch: x86_64
|
2021-04-05 14:57:13 +00:00
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Administrative utility for AMD SEV.}
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/sevctl
|
|
|
|
|
|
|
|
%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
|
2022-02-15 15:31:28 +00:00
|
|
|
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.0-3
|
|
|
|
- Rebuild with package notes
|
|
|
|
|
2022-01-21 23:08:09 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-04 16:55:36 +00:00
|
|
|
* Tue Jan 4 2022 Daniel P. Berrangé <berrange@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0 release (rhbz #2034304)
|
2022-01-05 10:25:16 +00:00
|
|
|
- Restrict build arch to x86_64 only
|
2022-01-04 16:55:36 +00:00
|
|
|
|
2021-09-14 17:14:32 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.1.0-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-23 15:57:22 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-04-05 14:57:13 +00:00
|
|
|
* Tue Mar 30 2021 Connor Kuehl <ckuehl@redhat.com> - 0.1.0-1
|
|
|
|
- Initial package
|