diff --git a/rust-safemem.spec b/rust-safemem.spec index ad33c9a..7ab5bd6 100644 --- a/rust-safemem.spec +++ b/rust-safemem.spec @@ -1,26 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate safemem Name: rust-%{crate} Version: 0.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Safe wrappers for memory-accessing functions, like `std::ptr::copy()` # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/safemem -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Safe wrappers for memory-accessing functions, like `std::ptr::copy()`. +%global _description %{expand: +Safe wrappers for memory-accessing functions, like `std::ptr::copy()`.} %description %{_description} @@ -63,9 +65,12 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -78,6 +83,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 20:33:08 CEST 2019 Igor Gnatenko - 0.3.0-6 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild