The package rpms/libzpc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/libzpc.git/commit/?id=42da23d0777....
Change:
+ExclusiveArch: s390x
Thanks.
Full change:
============
commit 42da23d0777bf39a538c54c9540dca7de90040cd
Author: Joerg Schmidbauer <jschmidb(a)de.ibm.com>
Date: Wed Sep 21 12:45:19 2022 +0200
Initial import (fedora#2085377).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..021ef78
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libzpc-1.0.1.tar.gz
diff --git a/libzpc.spec b/libzpc.spec
new file mode 100644
index 0000000..3b73c5c
--- /dev/null
+++ b/libzpc.spec
@@ -0,0 +1,85 @@
+Name: libzpc
+Version: 1.0.1
+Release: 1%{?dist}
+Summary: Open Source library for the IBM Z Protected-key crypto feature
+
+License: MIT
+Url:
https://github.com/opencryptoki/libzpc
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+ExclusiveArch: s390x
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: g++
+BuildRequires: make
+BuildRequires: json-c-devel
+
+#Additional prerequisites for building the test program: libjson-c devel
+#Additional prereqs for building the html and latex doc: doxygen >= 1.8.17, latex,
bibtex
+
+# Be explicit about the soversion in order to avoid unintentional changes.
+%global soversion 1
+
+%description
+The IBM Z Protected-key Crypto library libzpc is an open-source 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 extensive performance-boosting hardware support and its
+protected-key feature which ensures that key material is never present in
+main memory at any time.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%autosetup %{name}-%{version}
+
+# The following options can be passed to cmake:
+# -DCMAKE_INSTALL_PREFIX=<path> :
+# Change the install prefix from `/usr/local/` to `<path>`.
+# -DCMAKE_BUILD_TYPE=<type> : Choose predefined build options.
+# The choices for `<type>` are `Debug`, `Release`, `RelWithDebInfo`,
+# and `MinSizeRel`.
+# -DBUILD_SHARED_LIBS=ON : Build a shared object (instead of an archive).
+# -DBUILD_TEST=ON : Build the test program.
+# -DBUILD_DOC=ON : Build the html and latex doc.
+%build
+%cmake
+%cmake_build
+
+
+%install
+%cmake_install
+
+
+%check
+%ctest
+
+
+%files
+%doc README.md CHANGES.md
+%license LICENSE
+%{_libdir}/%{name}.so.%{soversion}*
+
+
+%files devel
+%{_includedir}/zpc/
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/%{name}.so
+
+
+%changelog
+* Wed Jun 22 2022 Joerg Schmidbauer <jschmidb(a)de.ibm.com> - 1.0.1
+- Updated spec file for rpm build and changed location
+ of pkgconfig file to libdir.
+
+* Mon Feb 21 2022 Joerg Schmidbauer <jschmidb(a)de.ibm.com> - 1.0.0
+- Initial version based on libzpc provided by Patrick Steuer,
+ <steuer(a)linux.vnet.ibm.com>
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..d2cf7a8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libzpc-1.0.1.tar.gz) =
c5fc79753c95b9e3a917912e79233521dea5511010d9efbd3d5013a1686a8e774033232dda62f901c994ce048904c7342a9eb2ef043b77584a9b0dbf1439bd54