From 71cfdfa8ddf4697b4451beaf3c60523c8d2b1ff4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 20 Jun 2019 09:24:21 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-idna.spec | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/rust-idna.spec b/rust-idna.spec index 1af06d3..7fb0eb3 100644 --- a/rust-idna.spec +++ b/rust-idna.spec @@ -1,33 +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 idna Name: rust-%{crate} Version: 0.1.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: IDNA (Internationalizing Domain Names in Applications) and Punycode # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/idna -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 -BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0) -BuildRequires: (crate(unicode-bidi/default) >= 0.3.0 with crate(unicode-bidi/default) < 0.4.0) -BuildRequires: (crate(unicode-normalization/default) >= 0.1.5 with crate(unicode-normalization/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(rustc-serialize/default) >= 0.3.0 with crate(rustc-serialize/default) < 0.4.0) -BuildRequires: (crate(rustc-test/default) >= 0.3.0 with crate(rustc-test/default) < 0.4.0) -%endif -%global _description \ -IDNA (Internationalizing Domain Names in Applications) and Punycode. +%global _description %{expand: +IDNA (Internationalizing Domain Names in Applications) and Punycode.} %description %{_description} @@ -57,9 +52,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 @@ -72,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 20 09:23:52 CEST 2019 Igor Gnatenko - 0.1.5-5 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild