public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/libzpc] rawhide: packaging fixes
Date: Tue, 27 Oct 2026 07:13:50 GMT [thread overview]
Message-ID: <179308523088.1.722852768880896085.rpms-libzpc-0987c0fcfc6a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libzpc
Branch : rawhide
Commit : 0987c0fcfc6a3968120a5fbb4cd15cecbc1d679f
Author : Dan Horák <dan@danny.cz>
Date : 2026-10-27T07:13:26+00:00
Stats : +7/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libzpc/c/0987c0fcfc6a3968120a5fbb4cd15cecbc1d679f?branch=rawhide
Log:
packaging fixes
- move to using macros instead of variable
- own the directory for the pkcs11 config
- set upgrade path for older package versions
- set strict dependency between the pkcs11 module and the openssl provider
---
diff --git a/libzpc.spec b/libzpc.spec
index dffa1d0..1c61f2c 100644
--- a/libzpc.spec
+++ b/libzpc.spec
@@ -39,7 +39,7 @@ later), interfacing to the protected key feature of z/Architecture.
%package pkcs11
Summary: PKCS#11 module for %{name}
-Requires: %{name}-provider
+Requires: %{name}-provider = %{version}-%{release}
%description pkcs11
The %{name}-pkcs11 package contains a PKCS#11 module for using protected key
@@ -49,6 +49,9 @@ origins.
%package tools
Summary: Key management tool for %{name} keys
+# set upgrade path for old packages
+Obsoletes: %{name} < 2.1.0
+Obsoletes: %{name}-devel < 2.0.0
%description tools
The %{name}-tools package contains a key management tool for key origins.
@@ -69,9 +72,9 @@ persistent protected key origins, from which protected keys can be (re-)derived.
%cmake_install
%ifarch s390x
install -m644 %_vpath_builddir/hbkzpcprovider.conf \
- -D -t $RPM_BUILD_ROOT%{_sysconfdir}/pki/tls/openssl.d/
+ -D -t %{buildroot}%{_sysconfdir}/pki/tls/openssl.d/
install -m644 %{SOURCE1} \
- -D -t $RPM_BUILD_ROOT/%{_sysconfdir}/zpcpkcs11/
+ -D -t %{buildroot}%{_sysconfdir}/zpcpkcs11/
%endif
%check
@@ -93,6 +96,7 @@ install -m644 %{SOURCE1} \
%{p11modulesdir}/zpcpkcs11.so
%{_mandir}/man5/zpcpkcs11.conf.5*
%{_mandir}/man7/zpcpkcs11.7*
+%dir %{_sysconfdir}/zpcpkcs11
%config(noreplace) %{_sysconfdir}/zpcpkcs11/zpcpkcs11.conf
%endif
reply other threads:[~2026-10-27 7:13 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=179308523088.1.722852768880896085.rpms-libzpc-0987c0fcfc6a@fedoraproject.org \
--to=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