diff --git a/.gitignore b/.gitignore index adce16f..6427c5d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /console-0.13.0.crate /console-0.14.0.crate /console-0.14.1.crate +/console-0.15.0.crate diff --git a/console-fix-metadata.diff b/console-fix-metadata.diff index 4f52364..4d83659 100644 --- a/console-fix-metadata.diff +++ b/console-fix-metadata.diff @@ -1,6 +1,6 @@ ---- console-0.14.1/Cargo.toml 2021-03-15T00:30:45+00:00 -+++ console-0.14.1/Cargo.toml 2021-03-23T21:08:20.660609+00:00 -@@ -44,14 +44,3 @@ +--- console-0.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ console-0.15.0/Cargo.toml 2022-01-12T13:38:01.449677+00:00 +@@ -43,14 +43,3 @@ [features] ansi-parsing = ["regex"] default = ["unicode-width", "ansi-parsing"] diff --git a/rust-console.spec b/rust-console.spec index f56b9f2..557f4e1 100644 --- a/rust-console.spec +++ b/rust-console.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate console Name: rust-%{crate} -Version: 0.14.1 +Version: 0.15.0 Release: %autorelease Summary: Terminal and console abstraction for Rust @@ -14,13 +14,10 @@ License: MIT URL: https://crates.io/crates/console Source: %{crates_source} # Initial patched metadata -# * No Windows +# * drop windows-specific dependencies Patch0: console-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,12 +32,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE -%doc README.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -49,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -61,8 +58,8 @@ BuildArch: noarch %description -n %{name}+ansi-parsing-devel %{_description} -This package contains library source intended for building other packages -which use "ansi-parsing" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "ansi-parsing" feature of the "%{crate}" crate. %files -n %{name}+ansi-parsing-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -73,8 +70,8 @@ BuildArch: noarch %description -n %{name}+regex-devel %{_description} -This package contains library source intended for building other packages -which use "regex" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -85,8 +82,8 @@ BuildArch: noarch %description -n %{name}+unicode-width-devel %{_description} -This package contains library source intended for building other packages -which use "unicode-width" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode-width" feature of the "%{crate}" crate. %files -n %{name}+unicode-width-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 04b3bd8..17f2729 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (console-0.14.1.crate) = 2c85d1938faca5163dd7eede2a8a07569e536c92fd0fbc7f6e6ed91c60fa7f947f0ae101817ed943b0668c4d98ddfd3149033c83614786b5d841b19a8b011c91 +SHA512 (console-0.15.0.crate) = 70bd6abfafa533903f273ec3b34da6783856bd1abedaf139fddafac0dbb03fa9154f8e1e1bef01fd8de3c53100bbaa93313518c42f8ce51217c23ef34d3f9d62