public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-xmlsec] rawhide: Run tests
Date: Mon, 08 Jun 2026 05:17:35 GMT	[thread overview]
Message-ID: <178089585541.1.17412579729436920092.rpms-python-xmlsec-c2463ee612a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-xmlsec
            Branch : rawhide
            Commit : c2463ee612a78e4bdbe4c1260140d75fa23537b4
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-08T01:11:29-04:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-xmlsec/c/c2463ee612a78e4bdbe4c1260140d75fa23537b4?branch=rawhide

            Log:
            Run tests

This is required by the packaging guidelines:

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_tests

---
diff --git a/python-xmlsec.spec b/python-xmlsec.spec
index 6d66ce2..a8cf567 100644
--- a/python-xmlsec.spec
+++ b/python-xmlsec.spec
@@ -11,6 +11,7 @@ Source0:        https://files.pythonhosted.org/packages/source/x/%{srcname}/%{sr
 
 BuildRequires:  gcc
 BuildRequires:  python3-devel
+BuildRequires:  python3-pytest
 BuildRequires:  libxml2-devel >= 2.9.1
 BuildRequires:  xmlsec1-devel >= 1.2.33
 BuildRequires:  xmlsec1-openssl-devel
@@ -52,6 +53,12 @@ sed -i 's/lxml==/lxml>=/' pyproject.toml
 %pyproject_save_files -l %{srcname}
 
 
+%check
+%pyproject_check_import
+export OPENSSL_ENABLE_SHA1_SIGNATURES=1
+%pytest -v
+
+
 %files -n python3-%{srcname} -f %{pyproject_files}
 %doc README.md
 

                 reply	other threads:[~2026-06-08  5:17 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=178089585541.1.17412579729436920092.rpms-python-xmlsec-c2463ee612a7@fedoraproject.org \
    --to=yselkowi@redhat.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