Add BuildRequires on systemd-rpm-macros

It's the package that contains the definition for the
%sysusers_create_package macro.

Resolves: RHEL-88182

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani 2025-04-23 15:56:11 +02:00
parent dd5ed19c75
commit ab3de07377

View File

@ -4,7 +4,7 @@
Summary: Software version of a PKCS#11 Hardware Security Module
Name: softhsm
Version: 2.6.1
Release: %{?prever:0.}15%{?prever:.%{prever}}%{?dist}
Release: %{?prever:0.}16%{?prever:.%{prever}}%{?dist}
License: BSD
Url: http://www.opendnssec.org/
Source: http://dist.opendnssec.org/source/%{?prever:testing/}%{name}-%{version}.tar.gz
@ -23,6 +23,7 @@ Patch5: softhsm-disable-usage-of-openssl-engines.patch
BuildRequires: make
BuildRequires: openssl-devel >= 1.0.1k-6, sqlite-devel >= 3.4.2, cppunit-devel
BuildRequires: gcc-c++, pkgconfig, p11-kit-devel
BuildRequires: systemd-rpm-macros
Requires(pre): shadow-utils
Requires: p11-kit
@ -121,6 +122,10 @@ if [ -f /var/softhsm/slot0.db ]; then
fi
%changelog
* Wed Apr 23 2025 Andrea Bolognani <abologna@redhat.com> - 2.6.1-16
- Add BuildRequires on systemd-rpm-macros
Resolves: RHEL-88182
* Thu Jan 23 2025 Rafael Jeffman <rjeffman@redhat.com> - 2.6.1-15
- Use systemd-sysusers
Resolves: RHEL-4901