public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-asyncssh] rawhide: spec cleanup and modernization
Date: Mon, 30 Nov 2026 17:37:15 GMT	[thread overview]
Message-ID: <179606023513.1.12837615095964723709.rpms-python-asyncssh-eafeaf686252@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-asyncssh
            Branch : rawhide
            Commit : eafeaf68625266a05bb33d8bffac5595b908c94e
            Author : Filipe Rosset <rosset.filipe@gmail.com>
            Date   : 2026-11-30T12:23:33-03:00
            Stats  : +7/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-asyncssh/c/eafeaf68625266a05bb33d8bffac5595b908c94e?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>

---
diff --git a/python-asyncssh.spec b/python-asyncssh.spec
index 195b8fc..e947082 100644
--- a/python-asyncssh.spec
+++ b/python-asyncssh.spec
@@ -9,24 +9,21 @@ Version:        2.24.2
 Release:        %autorelease
 Summary:        Asynchronous SSH for Python
 
-# Automatically converted from old format: EPL-2.0 or GPLv2+ - review is highly recommended.
 License:        EPL-2.0 OR GPL-2.0-or-later
 URL:            https://github.com/ronf/asyncssh
 Source0:        %pypi_source
+
 # OpenSSL 4.0 (and 3.x without the legacy provider) no longer supports
 # SHA1 for RSA signing, so skip the ssh-rsa / rsa1024-sha1 signature
 # algorithms in the test when the backend cannot do them.
 Patch0:         openssl4-sha1.diff
-
 BuildArch:      noarch
 
-
 # required by unittests
 BuildRequires:  openssh-clients
 BuildRequires:  openssl
 BuildRequires:  python3-gssapi
 
-
 # for OpenSSH private key encryption
 Suggests:       python3-bcrypt
 # for GSSAPI key exchange/authentication
@@ -38,7 +35,6 @@ Suggests:       python3-pyOpenSSL
 Suggests:       python3-fido2
 %endif
 
-
 %description
 %{desc}
 
@@ -53,11 +49,12 @@ Summary:        %{summary}
 %autosetup -p1 -n %{srcname}-%{version}
 
 # remove superfluous build dependencies
-sed -E '/(pytest-cov|coverage_conditional_plugin|\<coverage\>)/d' tox.ini -i  # coverage not desired
-sed -E '/(uvloop|python-pkcs11)/d' tox.ini -i  # not available, tests skipped when missing
-# sometimes upstream is too eager to bump this dependency,
-# e.g. due to 'Vulnerable OpenSSL included in cryptography wheels'
-sed "s/cryptography >= [^']\+/cryptography/" pyproject.toml -i
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency coverage_conditional_plugin:ignore
+%pyproject_patch_dependency pytest-cov:ignore
+%pyproject_patch_dependency uvloop:ignore
+%pyproject_patch_dependency python-pkcs11:ignore
+%pyproject_patch_dependency cryptography:drop_upper
 
 # disable optional fido2 dependency on epel,
 # since it is currently (?) not available on epel/rhel
@@ -69,12 +66,10 @@ sed 's@^ *\(fido2\)@# not available on epel/rhel # \1@' pyproject.toml tox.ini -
 %generate_buildrequires
 %pyproject_buildrequires -t
 
-
 %build
 sed -i '1,1s@^#!.*$@#!%{__python3}@' examples/*.py
 %pyproject_wheel
 
-
 %install
 %pyproject_install
 %pyproject_save_files -l %{srcname}
@@ -86,6 +81,5 @@ sed -i '1,1s@^#!.*$@#!%{__python3}@' examples/*.py
 %license LICENSE COPYRIGHT
 %doc README.rst examples
 
-
 %changelog
 %autochangelog

                 reply	other threads:[~2026-11-30 17:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179606023513.1.12837615095964723709.rpms-python-asyncssh-eafeaf686252@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox