From 023459be0ad2d145b9bc1206b6ea0b75f062bff5 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sat, 29 Aug 2020 19:37:35 +0200 Subject: [PATCH] Update to 0.12.1 Signed-off-by: Igor Raits --- .gitignore | 1 + rust-textwrap.spec | 33 ++++++++++++++++----------------- sources | 2 +- textwrap-fix-metadata.diff | 11 ----------- 4 files changed, 18 insertions(+), 29 deletions(-) delete mode 100644 textwrap-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 4115405..4417241 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /textwrap-0.9.0.crate /textwrap-0.10.0.crate /textwrap-0.11.0.crate +/textwrap-0.12.1.crate diff --git a/rust-textwrap.spec b/rust-textwrap.spec index a1e2ed0..d415749 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate textwrap Name: rust-%{crate} -Version: 0.11.0 -Release: 7%{?dist} -Summary: Small library for word wrapping, indenting, and dedenting strings +Version: 0.12.1 +Release: 1%{?dist} +Summary: Library for word wrapping, indenting, and dedenting strings # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/textwrap Source: %{crates_source} -# Initial patched metadata -# * Update version-sync to 0.8, https://github.com/mgeisler/textwrap/pull/159 -Patch0: textwrap-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -25,8 +22,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Small library for word wrapping, indenting, and dedenting strings. - +Library for word wrapping, indenting, and dedenting strings. You can use it to format strings (such as help and error messages) for display in commandline applications. It is designed to be efficient and handle Unicode characters correctly.} @@ -45,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -57,7 +53,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}+hyphenation-devel Summary: %{summary} @@ -69,19 +65,19 @@ This package contains library source intended for building other packages which use "hyphenation" feature of "%{crate}" crate. %files -n %{name}+hyphenation-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+term_size-devel +%package -n %{name}+terminal_size-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+term_size-devel %{_description} +%description -n %{name}+terminal_size-devel %{_description} This package contains library source intended for building other packages -which use "term_size" feature of "%{crate}" crate. +which use "terminal_size" feature of "%{crate}" crate. -%files -n %{name}+term_size-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%files -n %{name}+terminal_size-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -102,6 +98,9 @@ which use "term_size" feature of "%{crate}" crate. %endif %changelog +* Sat Aug 29 19:37:04 CEST 2020 Igor Raits - 0.12.1-1 +- Update to 0.12.1 + * Sat Aug 01 2020 Fedora Release Engineering - 0.11.0-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 2045455..34d8aa5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a +SHA512 (textwrap-0.12.1.crate) = 6076afc86110e978d55cdfde41e05eb847c50da21237d88eec73873547d601ec6cedcc23dad738ccee9ec96e0488dc26ba4d0bf039110698a875541d79db25c2 diff --git a/textwrap-fix-metadata.diff b/textwrap-fix-metadata.diff deleted file mode 100644 index 6b091e5..0000000 --- a/textwrap-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- textwrap-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ textwrap-0.11.0/Cargo.toml 2019-06-09T09:31:20.567731+00:00 -@@ -45,7 +45,7 @@ - version = "0.1" - - [dev-dependencies.version-sync] --version = "0.6" -+version = "0.8" - [badges.appveyor] - repository = "mgeisler/textwrap" -