From 0cabdfad769a4da96de108c127fc8af0c13a9de1 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 14 Jan 2020 22:38:10 -0800 Subject: [PATCH] Update to 1.2.1 --- .gitignore | 1 + rust-tabwriter.spec | 32 +++++++++++++++++++------------- sources | 2 +- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 6e0c97f..7e9bc3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /tabwriter-1.0.3.crate /tabwriter-1.0.4.crate /tabwriter-1.1.0.crate +/tabwriter-1.2.1.crate diff --git a/rust-tabwriter.spec b/rust-tabwriter.spec index f6e0227..0ee7ce4 100644 --- a/rust-tabwriter.spec +++ b/rust-tabwriter.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate tabwriter Name: rust-%{crate} -Version: 1.1.0 -Release: 5%{?dist} +Version: 1.2.1 +Release: 1%{?dist} Summary: Elastic tabstops # Upstream license specification: Unlicense/MIT @@ -15,14 +15,14 @@ URL: https://crates.io/crates/tabwriter Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) -BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0) -BuildRequires: (crate(unicode-width/default) >= 0.1.0 with crate(unicode-width/default) < 0.2.0) -%global _description \ -Elastic tabstops. +%global _description %{expand: +Elastic tabstops.} %description %{_description} @@ -38,7 +38,7 @@ which use "%{crate}" crate. %files devel %license COPYING LICENSE-MIT UNLICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,session.vim} %package -n %{name}+default-devel @@ -51,7 +51,7 @@ 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 %package -n %{name}+ansi_formatting-devel Summary: %{summary} @@ -63,7 +63,7 @@ This package contains library source intended for building other packages which use "ansi_formatting" feature of "%{crate}" crate. %files -n %{name}+ansi_formatting-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} @@ -75,7 +75,7 @@ This package contains library source intended for building other packages which use "lazy_static" feature of "%{crate}" crate. %files -n %{name}+lazy_static-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} @@ -87,12 +87,15 @@ This package contains library source intended for building other packages which use "regex" feature of "%{crate}" crate. %files -n %{name}+regex-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 @@ -105,6 +108,9 @@ which use "regex" feature of "%{crate}" crate. %endif %changelog +* Wed Jan 15 2020 Josh Stone - 1.2.1-1 +- Update to 1.2.1 + * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index cfb6174..b6426e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tabwriter-1.1.0.crate) = ed80e5e0d31f5941c63bf8f311b71919bf9fe84d872dcd31b37a1eac57a4efe4025b56784fd4083b952c7cae47f08562d10ed679cff0edb8b8dc57ff87ac7ee5 +SHA512 (tabwriter-1.2.1.crate) = f5b909440aff00e09e2ddddc7b34556a38ad93b24ed249aa2e9405a9d02ff4d00324b353099ef17394ffa6c20b2c43131ecedf52079ab9dc0559db4d13ac68a5