# Generated by rust2rpm 17 %bcond_without check %global __cargo_skip_build 0 %global crate drg Name: rust-%{crate} Version: 0.5.1 Release: 5%{?dist} Summary: Command line tool to interact with a drogue-cloud instance # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: https://crates.io/crates/drg Source: %{crates_source} # Initial patched metadata Patch0: drg-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Command line tool to interact with a drogue-cloud instance.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc README.md %{_bindir}/drg %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 * Fri Jan 21 2022 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 04 2021 Fabio Valentini - 0.5.1-4 - Rebuilt for tiny_http 0.6.3+ (RUSTSEC-2020-0031 / CVE-2020-35884). * Tue Sep 14 2021 Sahana Prasad - 0.5.1-3 - Rebuilt with OpenSSL 3.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 21 19:05:53 CEST 2021 Jean-Baptiste Trystram - 0.5.1-1 - Initial package