Notification time stamped 2023-11-01 02:25:00 UTC
From bd0d43e18e47e4a9dd61144f7c8b358c0076f9f8 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: May 18 2023 20:47:52 +0000
Subject: Update to 0.47.0
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 3e3886c..c4a8389 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/nu-ansi-term-0.45.1.crate
/nu-ansi-term-0.46.0.crate
+/nu-ansi-term-0.47.0.crate
diff --git a/nu-ansi-term-fix-metadata-auto.diff b/nu-ansi-term-fix-metadata-auto.diff
new file mode 100644
index 0000000..0edf2ee
--- /dev/null
+++ b/nu-ansi-term-fix-metadata-auto.diff
@@ -0,0 +1,15 @@
+--- nu-ansi-term-0.47.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.47.0/Cargo.toml 2023-05-18T20:46:04.693773+00:00
+@@ -45,12 +45,3 @@
+ [features]
+ derive_serde_style = ["serde"]
+
+-[target."cfg(windows)".dependencies.windows]
+-version = "0.45.0"
+-features = [
+- "Win32_Foundation",
+- "Win32_System_Console",
+- "Win32_Storage_FileSystem",
+- "Win32_Security",
+-]
+-package = "windows-sys"
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
deleted file mode 100644
index 92066f3..0000000
--- a/nu-ansi-term-fix-metadata.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- nu-ansi-term-0.46.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ nu-ansi-term-0.46.0/Cargo.toml 2022-07-08T11:07:35.772956+00:00
-@@ -45,13 +45,3 @@
-
- [features]
- derive_serde_style = ["serde"]
--
--[target."cfg(target_os=\"windows\")".dependencies.winapi]
--version = "0.3.4"
--features = [
-- "consoleapi",
-- "errhandlingapi",
-- "fileapi",
-- "handleapi",
-- "processenv",
--]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
index 3f80d74..baa328c 100644
--- a/rust-nu-ansi-term.spec
+++ b/rust-nu-ansi-term.spec
@@ -1,22 +1,19 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate nu-ansi-term
-Name: rust-%{crate}
-Version: 0.46.0
+Name: rust-nu-ansi-term
+Version: 0.47.0
Release: %autorelease
Summary: Library for ANSI terminal colors and styles (bold, underline)
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/nu-ansi-term
Source: %{crates_source}
-# Remove Windows target
-Patch0: nu-ansi-term-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch: nu-ansi-term-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
@@ -36,6 +33,7 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
diff --git a/sources b/sources
index 19f88e4..8468bdc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nu-ansi-term-0.46.0.crate) =
b4f37786dc85e0596e2b7b261a5a9fe0265bf1651c39efb358dd649b926b12c3093f307b98bf0c4df3899f0a7cb1854f2596bd5c3e22fbbef42f912ab2eb5043
+SHA512 (nu-ansi-term-0.47.0.crate) =
cca92ab9e7103937eaade490b11362aeaae3f9e25b91cfd054971b25ac03ea29d3b41bac75bb24abce5b8a0169035920cd12874ee34ee8f4fadf8fa2d2cff77f
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/bd0d43e18e47e4a9dd...