From 177be31cf93c840d9a3e4e33554597d2cbacee70 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Feb 15 2020 15:43:14 +0000 Subject: Update to 0.7.1 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 26e6dc2..12c7580 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /terminfo-0.6.1.crate +/terminfo-0.7.1.crate diff --git a/rust-terminfo.spec b/rust-terminfo.spec index d65cb0d..2720e26 100644 --- a/rust-terminfo.spec +++ b/rust-terminfo.spec @@ -1,30 +1,29 @@ -# Generated by rust2rpm -# https://github.com/meh/rust-terminfo/issues/10 -%bcond_with check +# Generated by rust2rpm 13 +%bcond_without check %global debug_package %{nil} %global crate terminfo Name: rust-%{crate} -Version: 0.6.1 -Release: 3%{?dist} +Version: 0.7.1 +Release: 1%{?dist} Summary: Terminal information +# Upstream license specification: WTFPL # https://github.com/meh/rust-terminfo/issues/9 License: WTFPL URL: https://crates.io/crates/terminfo Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(fnv/default) >= 1.0.0 with crate(fnv/default) < 2.0.0) -BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0) -BuildRequires: (crate(phf/default) >= 0.7.0 with crate(phf/default) < 0.8.0) -BuildRequires: (crate(phf_codegen/default) >= 0.7.0 with crate(phf_codegen/default) < 0.8.0) -%global _description \ -Terminal information. +%global _description %{expand: +Terminal information.} %description %{_description} @@ -39,7 +38,7 @@ which use "%{crate}" crate. %files devel %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,12 +50,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -69,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Feb 15 16:37:03 CET 2020 Igor Raits - 0.7.1-1 +- Update to 0.7.1 + * Thu Jan 30 2020 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 91b898b..336f842 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (terminfo-0.6.1.crate) = 67ac7738c57a5e410dcf9aafa277e034e9708b5f6fa1d486f9be3d5275cccaf5f5458ae2ca936bec532151b003665563b80752c4eabfd8482920c17e10f7f272 +SHA512 (terminfo-0.7.1.crate) = c7ffbba5242f6f60adb997f69bf4d2295f67cbd0419a094fc9753c2eaf6e41b06f6f16c9e2b34d7f136e5b665ba3156e10fe166d98ef7c8e8dd4a03fc754bc7f