Blame rust-vmw_backdoor.spec

1ddcc33
# Generated by rust2rpm 13
1ddcc33
%bcond_without check
1ddcc33
%global debug_package %{nil}
1ddcc33
1ddcc33
%global crate vmw_backdoor
1ddcc33
1ddcc33
Name:           rust-%{crate}
Sohan Kunkerkar 59d93fb
Version:        0.2.0
Sohan Kunkerkar 59d93fb
Release:        1%{?dist}
1ddcc33
Summary:        Pure-Rust library for VMware host-guest protocol ("VMXh backdoor")
1ddcc33
1ddcc33
# Upstream license specification: MIT/Apache-2.0
1ddcc33
License:        MIT or ASL 2.0
1ddcc33
URL:            https://crates.io/crates/vmw_backdoor
1ddcc33
Source:         %{crates_source}
1ddcc33
1ddcc33
ExclusiveArch:  %{rust_arches}
1ddcc33
%if %{__cargo_skip_build}
1ddcc33
BuildArch:      noarch
1ddcc33
%endif
1ddcc33
1ddcc33
BuildRequires:  rust-packaging
1ddcc33
1ddcc33
%global _description %{expand:
1ddcc33
Pure-Rust library for VMware host-guest protocol ("VMXh backdoor").}
1ddcc33
1ddcc33
%description %{_description}
1ddcc33
1ddcc33
%package        devel
1ddcc33
Summary:        %{summary}
1ddcc33
BuildArch:      noarch
1ddcc33
1ddcc33
%description    devel %{_description}
1ddcc33
1ddcc33
This package contains library source intended for building other packages
1ddcc33
which use "%{crate}" crate.
1ddcc33
1ddcc33
%files          devel
1ddcc33
%{cargo_registry}/%{crate}-%{version_no_tilde}/
1ddcc33
%doc README.md
1ddcc33
%license COPYRIGHT LICENSE-APACHE-2.0 LICENSE-MIT
1ddcc33
1ddcc33
%package     -n %{name}+default-devel
1ddcc33
Summary:        %{summary}
1ddcc33
BuildArch:      noarch
1ddcc33
1ddcc33
%description -n %{name}+default-devel %{_description}
1ddcc33
1ddcc33
This package contains library source intended for building other packages
1ddcc33
which use "default" feature of "%{crate}" crate.
1ddcc33
1ddcc33
%files       -n %{name}+default-devel
1ddcc33
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
1ddcc33
1ddcc33
%prep
1ddcc33
%autosetup -n %{crate}-%{version_no_tilde} -p1
1ddcc33
%cargo_prep
1ddcc33
1ddcc33
%generate_buildrequires
1ddcc33
%cargo_generate_buildrequires
1ddcc33
1ddcc33
%build
1ddcc33
%cargo_build
1ddcc33
1ddcc33
%install
1ddcc33
%cargo_install
1ddcc33
1ddcc33
%if %{with check}
1ddcc33
%check
1ddcc33
%cargo_test
1ddcc33
%endif
1ddcc33
1ddcc33
%changelog
Sohan Kunkerkar 59d93fb
* Wed Oct 21 2020 Sohan Kunkerkar <sohank2602@gmail.com> - 0.2.0-1
Sohan Kunkerkar 59d93fb
- Update to 0.2.0
Sohan Kunkerkar 59d93fb
9729df9
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
9729df9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9729df9
8b3c464
* Sat Jul 11 2020 Josh Stone <jistone@redhat.com> - 0.1.3-1
8b3c464
- Update to 0.1.3
8b3c464
1ddcc33
* Sat Apr 25 15:45:50 UTC 2020 Robert Fairley <rfairley@redhat.com> - 0.1.2-1
1ddcc33
- Initial package