From ec41d9c153a7815e74524c8c31271d1f0502952c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 9 Jun 2019 14:31:13 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-term_size.spec | 71 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 8 deletions(-) diff --git a/rust-term_size.spec b/rust-term_size.spec index f5ef51a..7e657a0 100644 --- a/rust-term_size.spec +++ b/rust-term_size.spec @@ -1,19 +1,18 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate term_size Name: rust-%{crate} Version: 0.3.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Functions for determining terminal sizes and dimensions # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/term_size -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * clippy is nightly # * No windows @@ -21,12 +20,17 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ Patch0: term_size-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(libc/default) >= 0.2.20 with crate(libc/default) < 0.3.0) +%endif -%global _description \ -Functions for determining terminal sizes and dimensions. +%global _description %{expand: +Functions for determining terminal sizes and dimensions.} %description %{_description} @@ -56,6 +60,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+clippy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clippy-devel %{_description} + +This package contains library source intended for building other packages +which use "clippy" feature of "%{crate}" crate. + +%files -n %{name}+clippy-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch @@ -68,6 +84,42 @@ which use "debug" feature of "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+lints-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lints-devel %{_description} + +This package contains library source intended for building other packages +which use "lints" feature of "%{crate}" crate. + +%files -n %{name}+lints-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+travis-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+travis-devel %{_description} + +This package contains library source intended for building other packages +which use "travis" feature of "%{crate}" crate. + +%files -n %{name}+travis-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch @@ -81,7 +133,7 @@ which use "unstable" 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 %build @@ -96,6 +148,9 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 14:30:29 CEST 2019 Igor Gnatenko - 0.3.1-8 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild