rust-sevctl/rust-sevctl.spec

107 lines
2.8 KiB
RPMSpec
Raw Normal View History

# Generated by rust2rpm 22
2021-04-05 14:57:13 +00:00
%bcond_without check
%global crate sevctl
Name: rust-sevctl
Version: 0.3.2
Release: 3%{?dist}
2021-04-05 14:57:13 +00:00
Summary: Administrative utility for AMD SEV
License: Apache-2.0
2021-04-05 14:57:13 +00:00
URL: https://crates.io/crates/sevctl
Source0: %{crates_source}
Source1: LICENSE.dependencies
# Temporal patch to update the sev dependency
Patch: sevctl-update-sev.diff
2021-04-05 14:57:13 +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 >= 21
2021-04-05 14:57:13 +00:00
%global _description %{expand:
Administrative utility for AMD SEV.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# Apache-2.0
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# MIT
# MIT OR Apache-2.0
# MIT OR Apache-2.0 OR Zlib
# Zlib OR Apache-2.0 OR MIT
License: Apache-2.0 AND MIT
# LICENSE.dependencies contains a full license breakdown
2021-04-05 14:57:13 +00:00
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%doc README.md
2021-04-05 14:57:13 +00:00
%{_bindir}/sevctl
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
cp -pav %{SOURCE1} .
2021-04-05 14:57:13 +00:00
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Thu Feb 09 2023 Sergio Lopez <slp@redhat.com> - 0.3.2-3
- Include a patch to update sev dependency
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Nov 18 2022 Tyler Fanelli <tfanelli@redhat.com> - 0.3.2-1
- Update to 0.3.2 (rhbz#2143857)
* Thu Aug 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.3.0-2
- Regenerate with rust2rpm v22 and specify License for binary package.
* Thu Aug 25 2022 Cole Robinson <crobinso@redhat.com> - 0.3.0-1
- Update to 0.3.0 (rhbz #2097875)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-02-15 15:31:46 +00:00
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.0-4
- Rebuild with package notes
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
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 4 2022 Daniel P. Berrangé <berrange@redhat.com> - 0.2.0-1
- Update to 0.2.0 release (rhbz #2034304)
- Restrict build arch to x86_64 only
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
* 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