Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzpc for openSUSE:Factory checked in at 2026-06-30 15:12:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzpc (Old) and /work/SRC/openSUSE:Factory/.libzpc.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzpc" Tue Jun 30 15:12:21 2026 rev:15 rq:1362512 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libzpc/libzpc.changes 2026-06-17 16:23:42.980609173 +0200 +++ /work/SRC/openSUSE:Factory/.libzpc.new.11887/libzpc.changes 2026-06-30 15:12:54.558977179 +0200 @@ -1,0 +2,16 @@ +Mon Jun 29 16:52:29 UTC 2026 - Nikolay Gueorguiev <[email protected]> + +- Upgrade libzpc to version 2.0.1 (jsc#PED-16483) + * [FIX] Fix compile warnings and errors on i386/i686 + * spec: Remove the pandoc dependency + * cmake: Change man-page related build target + * cmake: Install pre-built man-pages + * man: Update pre-built man-pages + * Fix detection of PCC instruction availability +- Add new sub-packages + * libzpc-provider* + * libzpc-tools* +- Add libzpc-rpmlintrc file as Source1 +- Obsoletes the libzpc-man-*.tar.gz file + +------------------------------------------------------------------- Old: ---- libzpc-2.0.0.tar.gz libzpc-man-2.0.0.tar.gz New: ---- libzpc-2.0.1.tar.gz libzpc-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzpc.spec ++++++ --- /var/tmp/diff_new_pack.JyPsNo/_old 2026-06-30 15:12:55.331003305 +0200 +++ /var/tmp/diff_new_pack.JyPsNo/_new 2026-06-30 15:12:55.335003440 +0200 @@ -17,17 +17,18 @@ Name: libzpc -Version: 2.0.0 +Version: 2.0.1 Release: 0 Summary: IBM Z Protected-key Crypto library License: MIT Group: Productivity/Security URL: https://github.com/opencryptoki/libzpc Source0: https://github.com/opencryptoki/libzpc/archive/refs/tags/v%{version}.tar.gz#/libzpc-%{version}.tar.gz -Source1: libzpc-man-%{version}.tar.gz +Source1: libzpc-rpmlintrc BuildRequires: clang BuildRequires: cmake >= 3.10 +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libjson-c-devel @@ -36,43 +37,71 @@ ExclusiveArch: s390x -# Upgrade path handling for v2.0.0 architectural split. -# The current architecture of libzpc 2.0.0 -# does not support a development package. -### Obsoletes: libzpc1 < %%{version}-%%{release} -### Obsoletes: libzpc-devel < %%{version}-%%{release} -### Provides: libzpc = %%{version}-%%{release} - %description -The IBM Z Protected-key Crypto library libzpc is a library targeting -the 64-bit Linux on IBM Z (s390x) platform. It provides interfaces for -cryptographic primitives. The underlying implementations make use of -z/Architecture's performance-boosting hardware support and its -protected-key feature which ensures that key material is never present -in main memory at any time. +The IBM Z Protected-key Crypto library %{name} is an open-source project +targeting the 64-bit Linux on IBM Z (s390x) platform. It provides access +to z/Architecture's extensive performance-boosting hardware support and its +protected-key feature which ensures that key material is never present in +main memory at any time. + + +%ifarch s390x +%package provider +Summary: OpenSSL provider module for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description provider +The %{name}-provider package contains a provider module for OpenSSL v3.0 (and +later), interfacing to the protected key feature of z/Architecture. +%endif + +%package tools +Summary: Key management tool for %{name} keys +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tools +The %{name}-tools package contains a key management tool for key origins. +As the protected keys itself are volatile, the tooling can be used to manage +persistent protected key origins, from which protected keys can be (re-)derived. %prep %autosetup -p1 +%global modulesdir %(pkg-config --variable=modulesdir libcrypto) %build -%cmake -DBUILD_DOC=OFF +%cmake %make_build %install cd build -# Create dummy files so the installer doesn't crash when BUILD_DOC=OFF -touch zpckey.1 hbkzpcprovider.conf.5 hbkzpcprovider.7 +touch hbkzpcprovider.conf.5 hbkzpcprovider.7 zpckey.1 %make_install +install -m644 hbkzpcprovider.conf \ + -D -t %{buildroot}%{_sysconfdir}/pki/tls/openssl.d/ + +%fdupes %{buildroot}%{_mandir} -# Overwrite the dummy files with the real pre-generated man pages -tar -xzf %{SOURCE1} -C %{buildroot}%{_datadir}/ +%check +%ctest %files +%doc README.md CHANGES.md %license LICENSE -%doc README.md -%{_bindir}/zpckey -%{_libdir}/ossl-modules/zpcprovider.so -%{_mandir}/man1/zpckey.1* + +%ifarch s390x +%files provider +%license LICENSE +%{modulesdir}/zpcprovider.so %{_mandir}/man5/hbkzpcprovider.conf.5* %{_mandir}/man7/hbkzpcprovider.7* +%dir %{_sysconfdir}/pki +%dir %{_sysconfdir}/pki/tls +%dir %{_sysconfdir}/pki/tls/openssl.d +%config(noreplace) %{_sysconfdir}/pki/tls/openssl.d/hbkzpcprovider.conf +%endif + +%files tools +%license LICENSE +%{_bindir}/zpckey +%{_mandir}/man1/zpckey.1* ++++++ libzpc-2.0.0.tar.gz -> libzpc-2.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzpc-2.0.0/CHANGES.md new/libzpc-2.0.1/CHANGES.md --- old/libzpc-2.0.0/CHANGES.md 2026-06-11 11:20:46.000000000 +0200 +++ new/libzpc-2.0.1/CHANGES.md 2026-06-12 09:44:08.000000000 +0200 @@ -1,6 +1,10 @@ Changelog {#changes} === +**Version 2.0.1** + +- [FIX] Fix compile warnings and errors on i386i/i686 + **Version 2.0.0** - [FEATURE] OpenSSL Provider API diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzpc-2.0.0/CMakeLists.txt new/libzpc-2.0.1/CMakeLists.txt --- old/libzpc-2.0.0/CMakeLists.txt 2026-06-11 11:20:46.000000000 +0200 +++ new/libzpc-2.0.1/CMakeLists.txt 2026-06-12 09:44:08.000000000 +0200 @@ -3,7 +3,7 @@ set(ZPC_DESCRIPTION "IBM Z Protected-key Crypto library" ) set(ZPC_VERSION_MAJOR 2 ) set(ZPC_VERSION_MINOR 0 ) -set(ZPC_VERSION_PATCH 0 ) +set(ZPC_VERSION_PATCH 1 ) set(ZPC_VERSION ${ZPC_VERSION_MAJOR}.${ZPC_VERSION_MINOR}.${ZPC_VERSION_PATCH}) ############################################################################### diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzpc-2.0.0/libzpc.spec new/libzpc-2.0.1/libzpc.spec --- old/libzpc-2.0.0/libzpc.spec 2026-06-11 11:20:46.000000000 +0200 +++ new/libzpc-2.0.1/libzpc.spec 2026-06-12 09:44:08.000000000 +0200 @@ -1,5 +1,5 @@ Name: libzpc -Version: 2.0.0 +Version: 2.0.1 Release: 1%{?dist} Summary: Open Source library for the IBM Z Protected-key crypto feature diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzpc-2.0.0/src/zpckey.c new/libzpc-2.0.1/src/zpckey.c --- old/libzpc-2.0.0/src/zpckey.c 2026-06-11 11:20:46.000000000 +0200 +++ new/libzpc-2.0.1/src/zpckey.c 2026-06-12 09:44:08.000000000 +0200 @@ -25,10 +25,8 @@ #endif #include "ossl.h" -#include "misc.h" #include "asn1.h" #include "uri.h" -#include "zkey/pkey.h" #ifndef XOR_LOG #define XOR_LOG(a, b) (!(a) != !(b)) @@ -194,7 +192,7 @@ } if (len != 32) { - fprintf(stderr, "uv-secret-id: incorrect length (%lu != 32)\n", len); + fprintf(stderr, "uv-secret-id: incorrect length (%zu != 32)\n", len); return 1; } ++++++ libzpc-rpmlintrc ++++++ addFilter("libzpc.*no-binary")
