diff --git a/rust-natord.spec b/rust-natord.spec index db4a9c1..71c2c96 100644 --- a/rust-natord.spec +++ b/rust-natord.spec @@ -1,25 +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 natord Name: rust-%{crate} Version: 1.0.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Natural ordering for Rust +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/natord -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 \ -Natural ordering for Rust. +%global _description %{expand: +Natural ordering for Rust.} %description %{_description} @@ -50,9 +53,12 @@ which use "default" 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 @@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jul 14 18:23:17 CEST 2019 Igor Gnatenko - 1.0.9-7 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 1.0.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild