diff --git a/.gitignore b/.gitignore index 437f4f4..efbc8cc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /anstream-0.6.7.crate /anstream-0.6.11.crate /anstream-0.6.12.crate +/anstream-0.6.13.crate diff --git a/anstream-fix-metadata-auto.diff b/anstream-fix-metadata-auto.diff index bac108f..e854038 100644 --- a/anstream-fix-metadata-auto.diff +++ b/anstream-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- anstream-0.6.12/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ anstream-0.6.12/Cargo.toml 2024-02-18T15:11:35.466317+00:00 +--- anstream-0.6.13/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ anstream-0.6.13/Cargo.toml 2024-02-29T10:44:04.583536+00:00 @@ -133,8 +133,5 @@ "wincon", ] diff --git a/anstream-fix-metadata.diff b/anstream-fix-metadata.diff index 5e94f9f..f483b73 100644 --- a/anstream-fix-metadata.diff +++ b/anstream-fix-metadata.diff @@ -1,5 +1,5 @@ ---- anstream-0.6.12/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ anstream-0.6.12/Cargo.toml 2024-02-18T15:12:00.086429+00:00 +--- anstream-0.6.13/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ anstream-0.6.13/Cargo.toml 2024-02-29T10:44:20.697603+00:00 @@ -83,18 +83,6 @@ [Unreleased]: https://github.com/rust-cli/anstyle/compare/{{tag_name}}...HEAD""" search = "" @@ -29,12 +29,3 @@ [dev-dependencies.lexopt] version = "0.3.0" -@@ -130,8 +115,6 @@ - auto = ["dep:anstyle-query"] - default = [ - "auto", -- "wincon", - ] - test = [] --wincon = [] - diff --git a/rust-anstream.spec b/rust-anstream.spec index 759ab4c..5a4fda7 100644 --- a/rust-anstream.spec +++ b/rust-anstream.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate anstream Name: rust-anstream -Version: 0.6.12 +Version: 0.6.13 Release: %autorelease Summary: Simple cross platform library for writing colored text to a terminal @@ -15,6 +15,7 @@ Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: anstream-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes +# * drop unused, benchmark-only criterion dev-dependency Patch: anstream-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -75,6 +76,18 @@ use the "test" feature of the "%{crate}" crate. %files -n %{name}+test-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+wincon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wincon-devel %{_description} + +This package contains library source intended for building other packages which +use the "wincon" feature of the "%{crate}" crate. + +%files -n %{name}+wincon-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/sources b/sources index 50e640c..8114015 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (anstream-0.6.12.crate) = 47396e1617464188e7b4d7c931c5a6fafa918ca7aa39044a5b3dad1b8685ea96829ee87e7b70820bbe2efb35571fb331539f0fb8938d229034a9b9bb60700a70 +SHA512 (anstream-0.6.13.crate) = 4f9ccfd135de9be22a01230f39d571c8d8ccf7c3eba837fbf0868c9660693b60ee0c1c2f9490a587d5307e892ed45cb946da7a0690a9f972619c94fb050bde09