salimma pushed to rpms/rust-bat (epel9-next). "initial import (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:59:09 UTC
From 88379d1ebef47681adb4258432b5b5f624507365 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sep 03 2018 18:09:46 +0000
Subject: initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..50d4b30
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/bat-0.6.1.crate
diff --git a/rust-bat.spec b/rust-bat.spec
new file mode 100644
index 0000000..875609a
--- /dev/null
+++ b/rust-bat.spec
@@ -0,0 +1,67 @@
+# Generated by rust2rpm
+%bcond_without check
+
+%global crate bat
+
+Name: rust-%{crate}
+Version: 0.6.1
+Release: 1%{?dist}
+Summary: cat(1) clone with wings
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/bat
+Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(ansi_term) >= 0.11.0 with crate(ansi_term) < 0.12.0)
+BuildRequires: (crate(atty) >= 0.2.2 with crate(atty) < 0.3.0)
+BuildRequires: ((crate(clap) >= 2.32.0 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color) with crate(clap/wrap_help))
+BuildRequires: (crate(console) >= 0.6.0 with crate(console) < 0.7.0)
+BuildRequires: (crate(directories) >= 1.0.0 with crate(directories) < 2.0.0)
+BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0)
+BuildRequires: (crate(git2) >= 0.7.0 with crate(git2) < 0.8.0)
+BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
+BuildRequires: ((crate(syntect) >= 2.1.0 with crate(syntect) < 3.0.0) with crate(syntect/parsing) with crate(syntect/yaml-load) with crate(syntect/dump-load) with crate(syntect/dump-create))
+%if %{with check}
+# [dev-dependencies]
+BuildRequires: (crate(tempdir) >= 0.3.0 with crate(tempdir) < 0.4.0)
+%endif
+
+%description
+%{summary}.
+
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate}
+%{summary}.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 doc/bat.1
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files -n %{crate}
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md
+%{_bindir}/bat
+%{_mandir}/man1/bat.1*
+
+%changelog
+* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..79eb02f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (bat-0.6.1.crate) = 59d8fd68d8194c23601a369126dd3babef99b143d18afa9f04d26f070e04ad3ec543e08392e1234df0921be22cdb09ce1f34328185aaf07d9ed50143f85cca0f
https://src.fedoraproject.org/rpms/rust-bat/c/88379d1ebef47681adb4258432b...
6Â months, 3Â weeks
salimma pushed to rpms/rust-bat (epel9-next). "Update to 0.7.1 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:59:09 UTC
From f54cc8d47f4eec64aa33540e1f437b1b0caf34e4 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Oct 04 2018 14:00:06 +0000
Subject: Update to 0.7.1
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index eb5731d..ae7d645 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/bat-0.6.1.crate
/bat-0.7.0.crate
+/bat-0.7.1.crate
diff --git a/rust-bat.spec b/rust-bat.spec
index 9a63d09..93af2b3 100644
--- a/rust-bat.spec
+++ b/rust-bat.spec
@@ -4,7 +4,7 @@
%global crate bat
Name: rust-%{crate}
-Version: 0.7.0
+Version: 0.7.1
Release: 1%{?dist}
Summary: cat(1) clone with wings
@@ -17,6 +17,7 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
+BuildRequires: (crate(ansi_colours) >= 1.0.0 with crate(ansi_colours) < 2.0.0)
BuildRequires: (crate(ansi_term) >= 0.11.0 with crate(ansi_term) < 0.12.0)
BuildRequires: (crate(atty) >= 0.2.2 with crate(atty) < 0.3.0)
BuildRequires: ((crate(clap) >= 2.32.0 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color) with crate(clap/wrap_help))
@@ -63,6 +64,9 @@ Summary: %{summary}
%{_mandir}/man1/bat.1*
%changelog
+* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.1-1
+- Update to 0.7.1
+
* Thu Sep 13 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.0-1
- Update to 0.7.0
diff --git a/sources b/sources
index 450a3af..960782e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bat-0.7.0.crate) = c37f0dfdc5e532390644a5ce5621bf908e046c1c88e990ca92a661b45ae5c61cf52e645ea752080f46a7060132b6fce2d49991d19e5ec1e8d1c2697bfea8d550
+SHA512 (bat-0.7.1.crate) = c8c4cccd17d89316c5f4cdb70e146d54f28ecb4a8f8ed4b825167021f46a2ba441c37b15f86de24d14d4b8c8c194931411f5e88ae54860500d76c4c5ae8e0039
https://src.fedoraproject.org/rpms/rust-bat/c/f54cc8d47f4eec64aa33540e1f4...
6Â months, 3Â weeks
salimma pushed to rpms/rust-bat (epel9-next). "Update to 0.7.0 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:59:09 UTC
From 1b87d7d4c00f3de8a611951334dda6fab184bee2 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sep 13 2018 06:06:22 +0000
Subject: Update to 0.7.0
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 50d4b30..eb5731d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/bat-0.6.1.crate
+/bat-0.7.0.crate
diff --git a/rust-bat.spec b/rust-bat.spec
index 875609a..9a63d09 100644
--- a/rust-bat.spec
+++ b/rust-bat.spec
@@ -4,7 +4,7 @@
%global crate bat
Name: rust-%{crate}
-Version: 0.6.1
+Version: 0.7.0
Release: 1%{?dist}
Summary: cat(1) clone with wings
@@ -63,5 +63,8 @@ Summary: %{summary}
%{_mandir}/man1/bat.1*
%changelog
+* Thu Sep 13 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.7.0-1
+- Update to 0.7.0
+
* Mon Sep 03 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.6.1-1
- Initial package
diff --git a/sources b/sources
index 79eb02f..450a3af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bat-0.6.1.crate) = 59d8fd68d8194c23601a369126dd3babef99b143d18afa9f04d26f070e04ad3ec543e08392e1234df0921be22cdb09ce1f34328185aaf07d9ed50143f85cca0f
+SHA512 (bat-0.7.0.crate) = c37f0dfdc5e532390644a5ce5621bf908e046c1c88e990ca92a661b45ae5c61cf52e645ea752080f46a7060132b6fce2d49991d19e5ec1e8d1c2697bfea8d550
https://src.fedoraproject.org/rpms/rust-bat/c/1b87d7d4c00f3de8a611951334d...
6Â months, 3Â weeks
packagerbot pushed to rpms/dummy-test-package-gloster (rawhide).
"Bump release (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:34:50 UTC
From b09ac0af6bfc2caa0b785873f9c776afe83bf848 Mon Sep 17 00:00:00 2001
From: packagerbot <admin(a)fedoraproject.org>
Date: Nov 01 2023 02:34:42 +0000
Subject: Bump release
Signed-off-by: packagerbot <admin(a)fedoraproject.org>
---
diff --git a/dummy-test-package-gloster.spec b/dummy-test-package-gloster.spec
index fa4c73d..05c8462 100644
--- a/dummy-test-package-gloster.spec
+++ b/dummy-test-package-gloster.spec
@@ -3,7 +3,7 @@
Name: dummy-test-package-gloster
Version: 0
-Release: 11187%{?dist}
+Release: 11188%{?dist}
Summary: Dummy Test Package called Gloster
License: CC0
URL: http://fedoraproject.org/wiki/DummyTestPackages
@@ -32,6 +32,9 @@ cp -p uuid %{buildroot}%{_datadir}/%{name}
%{_datadir}/%{name}
%changelog
+* Wed Nov 01 2023 packagerbot <admin(a)fedoraproject.org> - 0-11188
+- rebuilt
+
* Tue Oct 31 2023 packagerbot <admin(a)fedoraproject.org> - 0-11187
- rebuilt
https://src.fedoraproject.org/rpms/dummy-test-package-gloster/c/b09ac0af6...
6Â months, 3Â weeks
jsteffan pushed to rpms/python-twisted (f39). "Update to 23.10.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:24:17 UTC
From 2d1fc93c598e95d0efef759a129f9727dc3ba565 Mon Sep 17 00:00:00 2001
From: Jonathan Steffan <jsteffan(a)fedoraproject.org>
Date: Nov 01 2023 02:23:42 +0000
Subject: Update to 23.10.0
---
diff --git a/.gitignore b/.gitignore
index 3e12ad9..188ee1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/twisted-22.10.0.tar.gz
/twisted-23.8.0rc1.tar.gz
/twisted-23.8.0.tar.gz
+/twisted-23.10.0.tar.gz
diff --git a/0001-23.8.0rc1-remove-hatch-fancy-pypi-readme.patch b/0001-23.8.0rc1-remove-hatch-fancy-pypi-readme.patch
deleted file mode 100644
index 41a3f96..0000000
--- a/0001-23.8.0rc1-remove-hatch-fancy-pypi-readme.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -up twisted-twisted-23.8.0rc1/pyproject.toml.orig twisted-twisted-23.8.0rc1/pyproject.toml
---- twisted-twisted-23.8.0rc1/pyproject.toml.orig 2023-08-21 15:45:30.453610722 -0600
-+++ twisted-twisted-23.8.0rc1/pyproject.toml 2023-08-21 15:45:54.818500317 -0600
-@@ -1,7 +1,7 @@
- [build-system]
- requires = [
- "hatchling >= 1.10.0",
-- "hatch-fancy-pypi-readme >= 22.5.0",
-+# "hatch-fancy-pypi-readme >= 22.5.0",
- "incremental >= 22.10.0",
- ]
- build-backend = "hatchling.build"
-@@ -173,19 +173,19 @@ source = "code"
- path = "src/twisted/__init__.py"
- search-paths = ["src"]
-
--[tool.hatch.metadata.hooks.fancy-pypi-readme]
--content-type = "text/x-rst"
--fragments = [
-- { path = "README.rst" },
--]
--
--[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
--# Munge links of the form `NEWS <NEWS.rst>`_ to point at the appropriate
--# location on GitHub so that they function when the long description is
--# displayed on PyPI.
--pattern = '`([^`]+)\s+<(?!https?://)([^>]+)>`_'
--replacement = '`\1 <https://github.com/twisted/twisted/blob/trunk/\2>`_'
--ignore-case = true
-+#[tool.hatch.metadata.hooks.fancy-pypi-readme]
-+#content-type = "text/x-rst"
-+#fragments = [
-+# { path = "README.rst" },
-+#]
-+#
-+#[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
-+## Munge links of the form `NEWS <NEWS.rst>`_ to point at the appropriate
-+## location on GitHub so that they function when the long description is
-+## displayed on PyPI.
-+#pattern = '`([^`]+)\s+<(?!https?://)([^>]+)>`_'
-+#replacement = '`\1 <https://github.com/twisted/twisted/blob/trunk/\2>`_'
-+#ignore-case = true
-
- [tool.hatch.build.targets.wheel]
- packages = [
diff --git a/0002-23.10.0-fix-and-skip-tests-fedora.patch b/0002-23.10.0-fix-and-skip-tests-fedora.patch
new file mode 100644
index 0000000..c78b37b
--- /dev/null
+++ b/0002-23.10.0-fix-and-skip-tests-fedora.patch
@@ -0,0 +1,181 @@
+diff -up twisted-twisted-23.10.0/src/twisted/conch/test/test_cftp.py.orig twisted-twisted-23.10.0/src/twisted/conch/test/test_cftp.py
+--- twisted-twisted-23.10.0/src/twisted/conch/test/test_cftp.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/conch/test/test_cftp.py 2023-10-31 19:40:05.091714294 -0600
+@@ -1436,6 +1436,7 @@ exit
+ @skipIf(skipTests, "don't run w/o spawnProcess or cryptography")
+ @skipIf(not which("ssh"), "no ssh command-line client available")
+ @skipIf(not which("sftp"), "no sftp command-line client available")
++@skipIf(True, "no networking in Fedora buildsystem")
+ class OurServerSftpClientTests(CFTPClientTestBase):
+ """
+ Test the sftp server against sftp command line client.
+@@ -1479,11 +1480,11 @@ class OurServerSftpClientTests(CFTPClien
+ # first need to check if we can set it. If we can, -V will just print
+ # the version without doing anything else; if we can't, we will get a
+ # configuration error.
+- d = getProcessValue("ssh", ("-o", "PubkeyAcceptedKeyTypes=ssh-dss", "-V"), env)
++ d = getProcessValue("ssh", ("-o", "PubkeyAcceptedKeyTypes=ssh-rsa", "-V"), env)
+
+ def hasPAKT(status):
+ if status == 0:
+- args = ("-o", "PubkeyAcceptedKeyTypes=ssh-dss")
++ args = ("-o", "PubkeyAcceptedKeyTypes=+ssh-rsa")
+ else:
+ args = ()
+ # Pass -F /dev/null to avoid the user's configuration file from
+@@ -1497,7 +1498,9 @@ class OurServerSftpClientTests(CFTPClien
+ "-o",
+ "UserKnownHostsFile=kh_test",
+ "-o",
+- "HostKeyAlgorithms=ssh-rsa",
++ "HostKeyAlgorithms=+ssh-rsa",
++ "-o",
++ "PubkeyAcceptedKeyTypes=+ssh-rsa",
+ "-o",
+ "Port=%i" % (port,),
+ "-b",
+diff -up twisted-twisted-23.10.0/src/twisted/conch/test/test_checkers.py.orig twisted-twisted-23.10.0/src/twisted/conch/test/test_checkers.py
+--- twisted-twisted-23.10.0/src/twisted/conch/test/test_checkers.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/conch/test/test_checkers.py 2023-10-31 19:40:05.092714302 -0600
+@@ -12,6 +12,8 @@ from collections import namedtuple
+ from io import BytesIO
+ from typing import Optional
+
++from unittest import skipIf
++
+ cryptSkip: Optional[str]
+ try:
+ import crypt
+@@ -53,6 +55,7 @@ else:
+ euidSkip = "Cannot run without effective UIDs (questionable)"
+
+
++@skipIf(True, "disable in Fedora buildsys")
+ class HelperTests(TestCase):
+ """
+ Tests for helper functions L{verifyCryptedPassword}, L{_pwdGetByName} and
+diff -up twisted-twisted-23.10.0/src/twisted/conch/test/test_conch.py.orig twisted-twisted-23.10.0/src/twisted/conch/test/test_conch.py
+--- twisted-twisted-23.10.0/src/twisted/conch/test/test_conch.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/conch/test/test_conch.py 2023-10-31 19:40:05.092714302 -0600
+@@ -421,7 +421,7 @@ class ForwardingMixin(ConchServerSetupMi
+ localPort = self._getFreePort()
+ process = ConchTestForwardingProcess(localPort, b"test\n")
+ d = self.execute(
+- "", process, sshArgs="-N -L%i:127.0.0.1:%i" % (localPort, self.echoPort)
++ "", process, sshArgs="-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa -N -L%i:127.0.0.1:%i" % (localPort, self.echoPort)
+ )
+ d.addCallback(self.assertEqual, b"test\n")
+ return d
+@@ -434,7 +434,7 @@ class ForwardingMixin(ConchServerSetupMi
+ localPort = self._getFreePort()
+ process = ConchTestForwardingProcess(localPort, b"test\n")
+ d = self.execute(
+- "", process, sshArgs="-N -R %i:127.0.0.1:%i" % (localPort, self.echoPort)
++ "", process, sshArgs="-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa -N -R %i:127.0.0.1:%i" % (localPort, self.echoPort)
+ )
+ d.addCallback(self.assertEqual, b"test\n")
+ return d
+@@ -572,12 +572,12 @@ class OpenSSHClientMixin:
+ # the version without doing anything else; if we can't, we will get a
+ # configuration error.
+ d = getProcessValue(
+- which("ssh")[0], ("-o", "PubkeyAcceptedKeyTypes=ssh-dss", "-V")
++ which("ssh")[0], ("-o", "PubkeyAcceptedKeyTypes=ssh-rsa", "-V")
+ )
+
+ def hasPAKT(status):
+ if status == 0:
+- opts = "-oPubkeyAcceptedKeyTypes=ssh-dss "
++ opts = "-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa "
+ else:
+ opts = ""
+
+@@ -592,7 +592,8 @@ class OpenSSHClientMixin:
+ "-oUserKnownHostsFile=kh_test "
+ "-oPasswordAuthentication=no "
+ # Always use the RSA key, since that's the one in kh_test.
+- "-oHostKeyAlgorithms=ssh-rsa "
++ "-oHostKeyAlgorithms=+ssh-rsa "
++ "-oPubkeyAcceptedKeyTypes=+ssh-rsa "
+ "-a "
+ "-i dsa_test "
+ )
+@@ -614,6 +615,7 @@ class OpenSSHClientMixin:
+ return d.addCallback(hasPAKT)
+
+
++@skipIf(True, "broken on Fedora, possibly crypto policies")
+ class OpenSSHKeyExchangeTests(ConchServerSetupMixin, OpenSSHClientMixin, TestCase):
+ """
+ Tests L{SSHTransportBase}'s key exchange algorithm compatibility with
+@@ -706,6 +708,7 @@ class OpenSSHKeyExchangeTests(ConchServe
+ )
+
+
++@skipIf(True, "no networking in Fedora buildsystem")
+ class OpenSSHClientForwardingTests(ForwardingMixin, OpenSSHClientMixin, TestCase):
+ """
+ Connection forwarding tests run against the OpenSSL command line client.
+@@ -719,12 +722,13 @@ class OpenSSHClientForwardingTests(Forwa
+ localPort = self._getFreePort()
+ process = ConchTestForwardingProcess(localPort, b"test\n")
+ d = self.execute(
+- "", process, sshArgs="-N -L%i:[::1]:%i" % (localPort, self.echoPortV6)
++ "", process, sshArgs="-oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa -N -L%i:[::1]:%i" % (localPort, self.echoPortV6)
+ )
+ d.addCallback(self.assertEqual, b"test\n")
+ return d
+
+
++@skipIf(True, "broken on Fedora, possibly crypto policies")
+ class OpenSSHClientRekeyTests(RekeyTestsMixin, OpenSSHClientMixin, TestCase):
+ """
+ Rekeying tests run against the OpenSSL command line client.
+@@ -755,6 +759,8 @@ class CmdLineClientTests(ForwardingMixin
+ "--user-authentications publickey "
+ "-a "
+ "-i dsa_test "
++ "-oHostKeyAlgorithms=+ssh-rsa "
++ "-oPubkeyAcceptedKeyTypes=+ssh-rsa "
+ "-v ".format(port) + sshArgs + " 127.0.0.1 " + remoteCommand
+ )
+ cmds = _makeArgs(conchArgs + cmd.split())
+diff -up twisted-twisted-23.10.0/src/twisted/test/test_failure.py.orig twisted-twisted-23.10.0/src/twisted/test/test_failure.py
+--- twisted-twisted-23.10.0/src/twisted/test/test_failure.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/test/test_failure.py 2023-10-31 19:40:05.093714309 -0600
+@@ -18,7 +18,10 @@ from types import TracebackType
+ from typing import Any, Generator
+ from unittest import skipIf
+
+-from cython_test_exception_raiser import raiser # type: ignore[import]
++try:
++ from cython_test_exception_raiser import raiser # type: ignore[import]
++except ImportError:
++ raiser = None
+
+ from twisted.python import failure, reflect
+ from twisted.trial.unittest import SynchronousTestCase
+diff -up twisted-twisted-23.10.0/src/twisted/test/test_main.py.orig twisted-twisted-23.10.0/src/twisted/test/test_main.py
+--- twisted-twisted-23.10.0/src/twisted/test/test_main.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/test/test_main.py 2023-10-31 19:40:05.093714309 -0600
+@@ -13,7 +13,9 @@ from twisted.internet import defer, reac
+ from twisted.test.test_process import Accumulator
+ from twisted.trial.unittest import TestCase
+
++from unittest import skipIf
+
++@skipIf(True, "PYTHONPATH lost on sub process, just skip these vs passing this in")
+ class MainTests(TestCase):
+ """Test that twisted scripts can be invoked as modules."""
+
+diff -up twisted-twisted-23.10.0/src/twisted/test/test_udp.py.orig twisted-twisted-23.10.0/src/twisted/test/test_udp.py
+--- twisted-twisted-23.10.0/src/twisted/test/test_udp.py.orig 2023-10-31 01:14:47.000000000 -0600
++++ twisted-twisted-23.10.0/src/twisted/test/test_udp.py 2023-10-31 19:40:05.093714309 -0600
+@@ -599,6 +599,7 @@ class MulticastTests(TestCase):
+ o.transport.setTTL(2)
+ self.assertEqual(o.transport.getTTL(), 2)
+
++ @skipIf(True, "no networking in Fedora buildsystem")
+ def test_loopback(self):
+ """
+ Test that after loopback mode has been set, multicast packets are
diff --git a/0003-11786-fix-misuse-of-mktime-in-tests.patch b/0003-11786-fix-misuse-of-mktime-in-tests.patch
deleted file mode 100644
index f247967..0000000
--- a/0003-11786-fix-misuse-of-mktime-in-tests.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From 75e5e6ba1793efdfef2e2cfada0425bad5f0bcfa Mon Sep 17 00:00:00 2001
-From: Paul Eggert <eggert(a)cs.ucla.edu>
-Date: Fri, 9 Dec 2022 10:16:42 -0800
-Subject: [PATCH 4/6] #11786 fix misuse of mktime in tests
-
-(cherry picked from commit da3bf3dc29f067e7019b2a1c205834ab64b2139a)
----
- src/twisted/logger/test/test_format.py | 27 +++++++++++++-------------
- 1 file changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/src/twisted/logger/test/test_format.py b/src/twisted/logger/test/test_format.py
-index dbfbe1af1a..0671b6662c 100644
---- a/src/twisted/logger/test/test_format.py
-+++ b/src/twisted/logger/test/test_format.py
-@@ -166,16 +166,17 @@ class TimeFormattingTests(unittest.TestCase):
- def testForTimeZone(name: str, expectedDST: str, expectedSTD: str) -> None:
- setTZ(name)
-
-- localDST = mktime((2006, 6, 30, 0, 0, 0, 4, 181, 1))
- localSTD = mktime((2007, 1, 31, 0, 0, 0, 2, 31, 0))
--
-- self.assertEqual(formatTime(localDST), expectedDST)
- self.assertEqual(formatTime(localSTD), expectedSTD)
-
-+ if expectedDST:
-+ localDST = mktime((2006, 6, 30, 0, 0, 0, 4, 181, 1))
-+ self.assertEqual(formatTime(localDST), expectedDST)
-+
- # UTC
- testForTimeZone(
- "UTC+00",
-- "2006-06-30T00:00:00+0000",
-+ None,
- "2007-01-31T00:00:00+0000",
- )
-
-@@ -196,7 +197,7 @@ class TimeFormattingTests(unittest.TestCase):
- # No DST
- testForTimeZone(
- "CST+06",
-- "2006-06-30T00:00:00-0600",
-+ None,
- "2007-01-31T00:00:00-0600",
- )
-
-@@ -211,7 +212,7 @@ class TimeFormattingTests(unittest.TestCase):
- """
- If C{timeFormat} argument is L{None}, we get the default output.
- """
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- self.assertEqual(formatTime(t, timeFormat=None), "-")
- self.assertEqual(formatTime(t, timeFormat=None, default="!"), "!")
-
-@@ -219,7 +220,7 @@ class TimeFormattingTests(unittest.TestCase):
- """
- Alternate time format in output.
- """
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- self.assertEqual(formatTime(t, timeFormat="%Y/%W"), "2013/38")
-
- def test_formatTimePercentF(self) -> None:
-@@ -246,7 +247,7 @@ class ClassicLogFormattingTests(unittest.TestCase):
- addTZCleanup(self)
- setTZ("UTC+00")
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event = dict(log_format="XYZZY", log_time=t)
- self.assertEqual(
- formatEventAsClassicLogText(event),
-@@ -539,7 +540,7 @@ class EventAsTextTests(unittest.TestCase):
- except CapturedError:
- f = Failure()
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event: LogEvent = {
- "log_format": "ABCD",
- "log_system": "fake_system",
-@@ -573,7 +574,7 @@ class EventAsTextTests(unittest.TestCase):
- except CapturedError:
- f = Failure()
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event: LogEvent = {
- "log_format": "ABCD",
- "log_system": "fake_system",
-@@ -601,7 +602,7 @@ class EventAsTextTests(unittest.TestCase):
- except CapturedError:
- f = Failure()
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event: LogEvent = {
- "log_format": "ABCD",
- "log_time": t,
-@@ -628,7 +629,7 @@ class EventAsTextTests(unittest.TestCase):
- except CapturedError:
- f = Failure()
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event: LogEvent = {
- "log_format": "ABCD",
- "log_time": t,
-@@ -657,7 +658,7 @@ class EventAsTextTests(unittest.TestCase):
- except CapturedError:
- f = Failure()
-
-- t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, 1))
-+ t = mktime((2013, 9, 24, 11, 40, 47, 1, 267, -1))
- event: LogEvent = {
- "log_format": "ABCD",
- "log_time": t,
---
-2.39.2
-
diff --git a/0003-23.10.0-remove-hatch-fancy-pypi-readme.patch b/0003-23.10.0-remove-hatch-fancy-pypi-readme.patch
new file mode 100644
index 0000000..41a3f96
--- /dev/null
+++ b/0003-23.10.0-remove-hatch-fancy-pypi-readme.patch
@@ -0,0 +1,45 @@
+diff -up twisted-twisted-23.8.0rc1/pyproject.toml.orig twisted-twisted-23.8.0rc1/pyproject.toml
+--- twisted-twisted-23.8.0rc1/pyproject.toml.orig 2023-08-21 15:45:30.453610722 -0600
++++ twisted-twisted-23.8.0rc1/pyproject.toml 2023-08-21 15:45:54.818500317 -0600
+@@ -1,7 +1,7 @@
+ [build-system]
+ requires = [
+ "hatchling >= 1.10.0",
+- "hatch-fancy-pypi-readme >= 22.5.0",
++# "hatch-fancy-pypi-readme >= 22.5.0",
+ "incremental >= 22.10.0",
+ ]
+ build-backend = "hatchling.build"
+@@ -173,19 +173,19 @@ source = "code"
+ path = "src/twisted/__init__.py"
+ search-paths = ["src"]
+
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-fragments = [
+- { path = "README.rst" },
+-]
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-# Munge links of the form `NEWS <NEWS.rst>`_ to point at the appropriate
+-# location on GitHub so that they function when the long description is
+-# displayed on PyPI.
+-pattern = '`([^`]+)\s+<(?!https?://)([^>]+)>`_'
+-replacement = '`\1 <https://github.com/twisted/twisted/blob/trunk/\2>`_'
+-ignore-case = true
++#[tool.hatch.metadata.hooks.fancy-pypi-readme]
++#content-type = "text/x-rst"
++#fragments = [
++# { path = "README.rst" },
++#]
++#
++#[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
++## Munge links of the form `NEWS <NEWS.rst>`_ to point at the appropriate
++## location on GitHub so that they function when the long description is
++## displayed on PyPI.
++#pattern = '`([^`]+)\s+<(?!https?://)([^>]+)>`_'
++#replacement = '`\1 <https://github.com/twisted/twisted/blob/trunk/\2>`_'
++#ignore-case = true
+
+ [tool.hatch.build.targets.wheel]
+ packages = [
diff --git a/python-twisted.spec b/python-twisted.spec
index 347db25..c44c3c3 100644
--- a/python-twisted.spec
+++ b/python-twisted.spec
@@ -6,7 +6,7 @@ It contains a web server, numerous chat clients, chat servers, mail servers
and more.}
Name: python-%{srcname}
-Version: 23.8.0
+Version: 23.10.0
Release: %autorelease
Summary: Twisted is a networking engine written in Python
@@ -14,15 +14,13 @@ License: MIT
URL: http://twistedmatrix.com/
VCS: https://github.com/twisted/twisted
Source0: %vcs/archive/%{srcname}-%{version}/%{srcname}-%{version}.tar.gz
-# downstream-only hatch-fancy-pypi-readme not available in Fedora
-Patch1: 0001-23.8.0rc1-remove-hatch-fancy-pypi-readme.patch
-# downstream-only fix tests, skip network tests that fail in buildsys
-Patch2: 0002-23.8.0rc1-fix-and-skip-tests-fedora.patch
-# https://github.com/twisted/twisted/pull/11787
-Patch3: 0003-11786-fix-misuse-of-mktime-in-tests.patch
-# https://github.com/twisted/twisted/issues/12026
# https://github.com/twisted/twisted/pull/12027
-Patch4: 0001-Adjust-to-deprecation-of-3-arg-signature-of-generato.patch
+# https://github.com/twisted/twisted/issues/12026
+Patch1: 0001-Adjust-to-deprecation-of-3-arg-signature-of-generato.patch
+# downstream-only fix tests, skip network tests that fail in buildsys
+Patch2: 0002-23.10.0-fix-and-skip-tests-fedora.patch
+# downstream-only hatch-fancy-pypi-readme not available in Fedora
+Patch3: 0003-23.10.0-remove-hatch-fancy-pypi-readme.patch
BuildArch: noarch
@@ -50,6 +48,7 @@ Recommends: python3-%{srcname}+tls
%generate_buildrequires
%pyproject_buildrequires
+
%build
%pyproject_wheel
diff --git a/sources b/sources
index aa0e61a..f99635c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (twisted-23.8.0.tar.gz) = 29991277b382e332bd91b7ee71d77e753ac766ce8d3ab5867c5fbd9197f2f8dcb06833dbb6bbff56b3a123a1b2218f1c45ec29232b0045d80651a7db1634eece
+SHA512 (twisted-23.10.0.tar.gz) = e0819f048bcf50f024f99c57846444687e320c1a2378f5ffa68a0e66c530b0ab828e13005a8763f01e10582060d35dfc59c8373e85ea3a5fa8eeb0c24f49220f
https://src.fedoraproject.org/rpms/python-twisted/c/2d1fc93c598e95d0efef7...
6Â months, 3Â weeks
salimma pushed to rpms/rust-nu-ansi-term (epel9-next). "Update to
0.49.0 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:25:00 UTC
From fdad95cd4f84405adf88a20ace72f6475b2a6a94 Mon Sep 17 00:00:00 2001
From: Michel Lind <salimma(a)fedoraproject.org>
Date: Oct 28 2023 01:27:08 +0000
Subject: Update to 0.49.0
Signed-off-by: Michel Lind <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index c4a8389..9fb0783 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/nu-ansi-term-0.45.1.crate
/nu-ansi-term-0.46.0.crate
/nu-ansi-term-0.47.0.crate
+/nu-ansi-term-0.49.0.crate
diff --git a/nu-ansi-term-fix-metadata-auto.diff b/nu-ansi-term-fix-metadata-auto.diff
index 0edf2ee..64a275d 100644
--- a/nu-ansi-term-fix-metadata-auto.diff
+++ b/nu-ansi-term-fix-metadata-auto.diff
@@ -1,11 +1,11 @@
---- 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]
+--- nu-ansi-term-0.49.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.49.0/Cargo.toml 2023-10-28T01:26:25.880548+00:00
+@@ -43,12 +43,3 @@
derive_serde_style = ["serde"]
+ gnu_legacy = []
-[target."cfg(windows)".dependencies.windows]
--version = "0.45.0"
+-version = "0.48.0"
-features = [
- "Win32_Foundation",
- "Win32_System_Console",
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
index baa328c..07124b3 100644
--- a/rust-nu-ansi-term.spec
+++ b/rust-nu-ansi-term.spec
@@ -5,7 +5,7 @@
%global crate nu-ansi-term
Name: rust-nu-ansi-term
-Version: 0.47.0
+Version: 0.49.0
Release: %autorelease
Summary: Library for ANSI terminal colors and styles (bold, underline)
@@ -61,6 +61,18 @@ use the "derive_serde_style" feature of the "%{crate}" crate.
%files -n %{name}+derive_serde_style-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+gnu_legacy-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gnu_legacy-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gnu_legacy" feature of the "%{crate}" crate.
+
+%files -n %{name}+gnu_legacy-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/sources b/sources
index 8468bdc..7420148 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nu-ansi-term-0.47.0.crate) = cca92ab9e7103937eaade490b11362aeaae3f9e25b91cfd054971b25ac03ea29d3b41bac75bb24abce5b8a0169035920cd12874ee34ee8f4fadf8fa2d2cff77f
+SHA512 (nu-ansi-term-0.49.0.crate) = 8168f44f3574e56fe70ecbc67255556bb92215d3520d1cfca7be918b3d7d54be7aa0d82359f1044eaf66f11ee85fab1f9ccf32b13cdc39139c2facc78b2d8e71
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/fdad95cd4f84405adf...
6Â months, 3Â weeks
salimma pushed to rpms/rust-nu-ansi-term (epel9-next). "Initial
Fedora package (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:25:00 UTC
From c5da2ae2a374b92242e835f687f5dfad83d33122 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 03:37:51 +0000
Subject: Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65cf32e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nu-ansi-term-0.45.1.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
new file mode 100644
index 0000000..99e4a86
--- /dev/null
+++ b/nu-ansi-term-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
+@@ -38,6 +38,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
new file mode 100644
index 0000000..a880d6a
--- /dev/null
+++ b/rust-nu-ansi-term.spec
@@ -0,0 +1,97 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-ansi-term
+
+Name: rust-%{crate}
+Version: 0.45.1
+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}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library for ANSI terminal colors and styles (bold, underline).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+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 %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive_serde_style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive_serde_style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive_serde_style" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive_serde_style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..c3c4334
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/c5da2ae2a374b92242...
6Â months, 3Â weeks
salimma pushed to rpms/rust-nu-ansi-term (epel9-next). "Update to 0.46.0"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-11-01 02:25:00 UTC
From f5c98664daf7b81f0ec619bb2eae4b3b61c13d63 Mon Sep 17 00:00:00 2001
From: yizhengxie <yizhengx(a)bu.edu>
Date: Jul 26 2022 18:06:56 +0000
Subject: Update to 0.46.0
---
diff --git a/.gitignore b/.gitignore
index 65cf32e..3e3886c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/nu-ansi-term-0.45.1.crate
+/nu-ansi-term-0.46.0.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
index 99e4a86..92066f3 100644
--- a/nu-ansi-term-fix-metadata.diff
+++ b/nu-ansi-term-fix-metadata.diff
@@ -1,9 +1,16 @@
---- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
-@@ -38,6 +38,3 @@
+--- 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"]
+-features = [
+- "consoleapi",
+- "errhandlingapi",
+- "fileapi",
+- "handleapi",
+- "processenv",
+-]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
index a880d6a..3f80d74 100644
--- a/rust-nu-ansi-term.spec
+++ b/rust-nu-ansi-term.spec
@@ -5,7 +5,7 @@
%global crate nu-ansi-term
Name: rust-%{crate}
-Version: 0.45.1
+Version: 0.46.0
Release: %autorelease
Summary: Library for ANSI terminal colors and styles (bold, underline)
diff --git a/sources b/sources
index c3c4334..19f88e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
+SHA512 (nu-ansi-term-0.46.0.crate) = b4f37786dc85e0596e2b7b261a5a9fe0265bf1651c39efb358dd649b926b12c3093f307b98bf0c4df3899f0a7cb1854f2596bd5c3e22fbbef42f912ab2eb5043
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/f5c98664daf7b81f0e...
6Â months, 3Â weeks
salimma pushed to rpms/rust-nu-ansi-term (epel9-next). "Update to
0.47.0 (..more)"
by notificationsï¼ fedoraproject.org
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...
6Â months, 3Â weeks