Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opensc for openSUSE:Factory checked 
in at 2026-12-01 16:58:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opensc (Old)
 and      /work/SRC/openSUSE:Factory/.opensc.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opensc"

Tue Dec  1 16:58:47 2026 rev:66 rq:1401707 version:0.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/opensc/opensc.changes    2026-06-13 
18:49:51.003692561 +0200
+++ /work/SRC/openSUSE:Factory/.opensc.new.1340718/opensc.changes       
2026-12-01 17:01:01.258242166 +0100
@@ -1,0 +2,9 @@
+Thu Nov 26 10:54:18 UTC 2026 - Zoltan Balogh <[email protected]>
+
+- Enable the upstream unit and integration tests with --enable-cmocka
+  and make check, using softhsm as the software token. Add the
+  test-only BuildRequires libcmocka-devel, softhsm, openssl and xxd.
+  test-pkcs11-tool-test-threads.sh self-skips (no smartcard reader).
+  The tests are enabled for Tumbleweed and Leap 16 and newer only.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ opensc.spec ++++++
--- /var/tmp/diff_new_pack.5S3pXF/_old  2026-12-01 17:01:02.713303074 +0100
+++ /var/tmp/diff_new_pack.5S3pXF/_new  2026-12-01 17:01:02.719303325 +0100
@@ -23,7 +23,6 @@
 Release:        0
 Summary:        Smart Card Utilities
 License:        LGPL-2.1-or-later
-Group:          Productivity/Security
 URL:            https://github.com/OpenSC/OpenSC/wiki
 Source:         
https://github.com/OpenSC/OpenSC/releases/download/%{version}/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
@@ -39,15 +38,22 @@
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  libxslt
 BuildRequires:  pkgconfig
-BuildRequires:  readline-devel
-BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(bash-completion)
 BuildRequires:  pkgconfig(libeac)  >= 0.9
 BuildRequires:  pkgconfig(libpcsclite) >= 1.8.22
 BuildRequires:  pkgconfig(openssl) >= 1.0.1
+BuildRequires:  pkgconfig(zlib)
+# readline-devel in Leap 15.6 ships no readline.pc or history.pc
+BuildRequires:  readline-devel
 Requires:       pcsc-lite
 # There is no more devel package.
 Obsoletes:      opensc-devel < %{version}
+%if 0%{?suse_version} > 1500
+BuildRequires:  openssl
+BuildRequires:  softhsm
+BuildRequires:  xxd
+BuildRequires:  pkgconfig(cmocka)
+%endif
 
 %description
 OpenSC provides a set of utilities to access smart cards. It mainly
@@ -66,7 +72,6 @@
 
 %package bash-completion
 Summary:        Bash Completion for %{name}
-Group:          Productivity/Security
 Requires:       %{name} = %{version}
 Requires:       bash-completion
 Supplements:    (%{name} and bash-completion)
@@ -84,9 +89,20 @@
   --docdir=%{_docdir}/%{name} \
   --disable-static \
   --enable-doc \
+%if 0%{?suse_version} > 1500
+  --enable-cmocka \
+%endif
   --disable-silent-rules
 %make_build
 
+%if 0%{?suse_version} > 1500
+%check
+# Upstream does not probe the library pkcs11 directory; set P11LIB so
+# the softhsm tests also run on 32-bit builds.
+export P11LIB=%{_libdir}/pkcs11/libsofthsm2.so
+%make_build check
+%endif
+
 %install
 %make_install
 # Private library.

Reply via email to