public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vojtech Trefny <vtrefny@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pykcs11] rawhide: Update to 1.5.19 (#2524523)
Date: Thu, 27 Aug 2026 13:53:21 GMT	[thread overview]
Message-ID: <178783880133.1.16729155686391517202.rpms-python-pykcs11-29c2d0a40bf4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pykcs11
Branch : rawhide
Commit : 29c2d0a40bf41a59ca022af62ac81aa322e0b0cb
Author : Vojtech Trefny <vtrefny@redhat.com>
Date   : 2026-08-27T15:24:11+02:00
Stats  : +4/-51 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pykcs11/c/29c2d0a40bf41a59ca022af62ac81aa322e0b0cb?branch=rawhide

Log:
Update to 1.5.19 (#2524523)

---
diff --git a/.gitignore b/.gitignore
index b54a2da..66554b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /pykcs11-1.5.15.tar.gz
+/pykcs11-1.5.19.tar.gz

diff --git a/Add-Fedora-PyKCS11-library-location-search-path.patch b/Add-Fedora-PyKCS11-library-location-search-path.patch
deleted file mode 100644
index af97bc9..0000000
--- a/Add-Fedora-PyKCS11-library-location-search-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b5f522ce92394f3042d81c480ec1061cadaad68a Mon Sep 17 00:00:00 2001
-From: Artem Polishchuk <ego.cordatus@gmail.com>
-Date: Sat, 4 May 2024 15:40:10 +0300
-Subject: [PATCH] get_PYKCS11LIB.py: Add Fedora lib path
-
-Add Fedora PyKCS11 library location search path.
----
- get_PYKCS11LIB.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/get_PYKCS11LIB.py b/get_PYKCS11LIB.py
-index 456ade8..95797cf 100755
---- a/get_PYKCS11LIB.py
-+++ b/get_PYKCS11LIB.py
-@@ -16,6 +16,7 @@ def get_PYKCS11LIB():
-         LIBS = [
-             "/usr/local/lib/pkcs11-spy.so",  # macOS or local build
-             "/usr/lib/x86_64-linux-gnu/pkcs11-spy.so",  # Debian amd64
-+            "/usr/lib64/pkcs11/pkcs11-spy.so",  # Fedora Linux
-         ]
-     else:
-         if sys.maxsize > 2 ** 32:
-@@ -31,6 +32,7 @@ def get_PYKCS11LIB():
-             "/usr/lib/softhsm/libsofthsm.so",  # Debian libsofthsm
-             "/usr/lib/libsofthsm.so",  # Ubuntu 12.04 libsofthsm
-             "/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so",  # Ubuntu 16.04 libsofthsm2
-+            "/usr/lib64/pkcs11/libsofthsm2.so",  # Fedora Linux
-             WINDOWS_SOFTHSM,  # Windows
-         ]
- 

diff --git a/python-pykcs11-swig45.patch b/python-pykcs11-swig45.patch
deleted file mode 100644
index d028d61..0000000
--- a/python-pykcs11-swig45.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up pykcs11-1.5.15/src/pykcs11.i.swig45 pykcs11-1.5.15/src/pykcs11.i
---- pykcs11-1.5.15/src/pykcs11.i.swig45	2026-07-28 10:30:08.011623357 +0200
-+++ pykcs11-1.5.15/src/pykcs11.i	2026-07-28 10:30:08.016623459 +0200
-@@ -63,7 +63,7 @@ using namespace std;
- }
- 
- %typemap(out) CK_RV {
--   $result = PyInt_FromLong((long)$1);
-+   $result = PyLong_FromLong((long)$1);
- }
- 
- #else

diff --git a/python-pykcs11.spec b/python-pykcs11.spec
index 92abeeb..4146790 100644
--- a/python-pykcs11.spec
+++ b/python-pykcs11.spec
@@ -1,26 +1,20 @@
 # TODO: tox tests
 # E: NO TESTS RAN
 # /usr/bin/python3 -m unittest discover pid=413
-#   py312: FAIL code 5 
+#   py312: FAIL code 5
 %bcond_with tests
 
 %global pypi_name PyKCS11
 %global srcname pykcs11
 
 Name:           python-%{srcname}
-Version:        1.5.15
+Version:        1.5.19
 Release:        %autorelease
 Summary:        A Full PKCS11 wrapper for Python
 
 License:        GPL-2.0-only
 URL:            https://github.com/LudovicRousseau/PyKCS11
 Source:         %{pypi_source}
-# Add Fedora PyKCS11 library location search path
-# https://github.com/LudovicRousseau/PyKCS11/pull/113
-Patch:          %{url}/pull/113.patch#/Add-Fedora-PyKCS11-library-location-search-path.patch
-# Replace removed Python 2 C API macros with Python 3 equivalents
-# for compatibility with SWIG 4.5.0
-Patch:          python-pykcs11-swig45.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  python3-devel

diff --git a/sources b/sources
index 5805759..aacde28 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pykcs11-1.5.15.tar.gz) = 6e0048eb936854b38fb68b8f264021311006352be1228a31be183ca565ca66f057a100d903093d7ec0594d06f63fe7f375d86faa4ba4cda2f38e37e347000b8d
+SHA512 (pykcs11-1.5.19.tar.gz) = 113b5fe5a9f3e80bebf9d39cdeb298c2efae94b4b03da6e54107b5509c0bab377b0583cac6b27f7e8de72bf1a1aad16a87b1831e7105a20b47ebb201cc350514

                 reply	other threads:[~2026-08-27 13:53 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=178783880133.1.16729155686391517202.rpms-python-pykcs11-29c2d0a40bf4@fedoraproject.org \
    --to=vtrefny@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