Fix multilib issue with systemd-sysusers config

Related: RHEL-90737
This commit is contained in:
Vitezslav Crhonek 2026-02-18 09:42:39 +01:00
parent a31c26be37
commit e3fc4aae4b

View File

@ -6,7 +6,7 @@
Name: tog-pegasus
Version: %{major_ver}.1
Release: 67%{?dist}
Release: 68%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
@ -372,8 +372,8 @@ install -p Schemas/CIM238/DMTF/Core/CIM_AbstractComponent.mof $RPM_BUILD_ROOT/us
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man1/
cp %SOURCE12 ${RPM_BUILD_ROOT}/%{_mandir}/man1/
# install sysusers conf file
install -p -D -m 0644 %{SOURCE13} %{buildroot}%{_sysusersdir}/tog-pegasus.conf
# install sysusers conf file (arch-specific name for multilib)
install -p -D -m 0644 %{SOURCE13} %{buildroot}%{_sysusersdir}/tog-pegasus-%{_arch}.conf
%check
# run unit tests
@ -447,12 +447,13 @@ rm $RPM_BUILD_ROOT/usr/share/Pegasus/test/testtracer4.trace.0
/usr/share/Pegasus/html
%files libs
%{_sysusersdir}/tog-pegasus.conf
%defattr(0755, root, pegasus, 0755)
%{_libdir}/*
%exclude /usr/lib/debug
%exclude /usr/lib/systemd
%exclude %dir %{_sysusersdir}
%exclude %{_tmpfilesdir}
%{_sysusersdir}/tog-pegasus-%{_arch}.conf
%if %{PEGASUS_BUILD_TEST_RPM}
%files test
@ -574,6 +575,10 @@ fi
%changelog
* Wed Feb 18 2026 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.14.1-68
- Fix multilib issue with systemd-sysusers config
Related: RHEL-90737
* Tue Feb 03 2026 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.14.1-67
- Add support for post-quantum cryptography
Resolves: RHEL-127514