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-17 16:22:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzpc (Old)
 and      /work/SRC/openSUSE:Factory/.libzpc.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libzpc"

Wed Jun 17 16:22:54 2026 rev:14 rq:1359895 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libzpc/libzpc.changes    2026-02-06 
21:31:11.516342153 +0100
+++ /work/SRC/openSUSE:Factory/.libzpc.new.1981/libzpc.changes  2026-06-17 
16:23:42.980609173 +0200
@@ -1,0 +2,15 @@
+Wed Jun 17 06:48:11 UTC 2026 - Nikolay Gueorguiev <[email protected]>
+
+- Update to version 2.0.0:
+  * Switch from a standalone shared library to an OpenSSL Provider layout.
+  * Add the new `zpckey` key management utility tool.
+  * Remove the old shared library API.
+- Update the spec file configuration for the new package structure:
+  * Remove the old `libzpc1` and `libzpc-devel` sub-packages.
+  * Remove `ldconfig` calls because there is no longer a public shared library.
+  * Add `Source1` to use a pre-generated tarball for man pages.
+  * Turn off dynamic document building inside the compiler flags.
+  * Clean up `BuildRequires` by adding `clang`, `libcrypto`, and `libssl`.
+  * Remove unnecessary build tools like `doxygen` and `texlive-bibtex-bin`.
+
+-------------------------------------------------------------------

Old:
----
  libzpc-1.5.0.tar.gz

New:
----
  libzpc-2.0.0.tar.gz
  libzpc-man-2.0.0.tar.gz

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

Other differences:
------------------
++++++ libzpc.spec ++++++
--- /var/tmp/diff_new_pack.QIgqfR/_old  2026-06-17 16:23:44.040653513 +0200
+++ /var/tmp/diff_new_pack.QIgqfR/_new  2026-06-17 16:23:44.044653681 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libzpc
 #
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,32 @@
 
 
 Name:           libzpc
-Version:        1.5.0
+Version:        2.0.0
 Release:        0
 Summary:        IBM Z Protected-key Crypto library
 License:        MIT
 Group:          Productivity/Security
 URL:            https://github.com/opencryptoki/libzpc
-Source:         
https://github.com/opencryptoki/libzpc/archive/refs/tags/v%{version}.tar.gz#/libzpc-%{version}.tar.gz
+Source0:        
https://github.com/opencryptoki/libzpc/archive/refs/tags/v%{version}.tar.gz#/libzpc-%{version}.tar.gz
+Source1:        libzpc-man-%{version}.tar.gz
+
+BuildRequires:  clang
 BuildRequires:  cmake >= 3.10
-BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  libjson-c-devel
-BuildRequires:  texlive-bibtex-bin
+
+BuildRequires:  pkgconfig(libcrypto) >= 3.0.7
+BuildRequires:  pkgconfig(libssl) >= 3.0.7
+
 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
@@ -39,47 +51,28 @@
 protected-key feature which ensures that key material is never present
 in main memory at any time.
 
-%package -n libzpc1
-Summary:        IBM Z Protected-key Crypto library
-Group:          System/Libraries
-
-%description -n libzpc1
-This package contains the shared library to work with the
-IBM protected-key cryptography hardware
-
-%package devel
-Summary:        Header files for the IBM Z Protected-key Crypto library
-Group:          Productivity/Security
-Requires:       libzpc1 = %{version}-%{release}
-
-%description devel
-This package provides the header files and symbolic link to the
-shared library for the libzpc RPM.
-
 %prep
 %autosetup -p1
 
 %build
-%cmake -DBUILD_DOC=ON
+%cmake -DBUILD_DOC=OFF
 %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
 %make_install
 
-%post -n libzpc1 -p /sbin/ldconfig
-
-%postun -n libzpc1 -p /sbin/ldconfig
+# Overwrite the dummy files with the real pre-generated man pages
+tar -xzf %{SOURCE1} -C %{buildroot}%{_datadir}/
 
-%files -n libzpc1
-%doc README.md
+%files
 %license LICENSE
-%{_libdir}/%{name}.so.1
-%{_libdir}/%{name}.so.%{version}
-
-%files devel
-%dir %{_includedir}/zpc
-%{_includedir}/zpc/*.h
-%{_libdir}/%{name}.so
-%{_libdir}/pkgconfig/%{name}.pc
+%doc README.md
+%{_bindir}/zpckey
+%{_libdir}/ossl-modules/zpcprovider.so
+%{_mandir}/man1/zpckey.1*
+%{_mandir}/man5/hbkzpcprovider.conf.5*
+%{_mandir}/man7/hbkzpcprovider.7*
 

++++++ libzpc-1.5.0.tar.gz -> libzpc-2.0.0.tar.gz ++++++
++++ 7544 lines of diff (skipped)

Reply via email to