public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-xmlsec] rawhide: Run tests
@ 2026-06-08  5:17 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-08  5:17 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-08  5:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08  5:17 [rpms/python-xmlsec] rawhide: Run tests Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox