diff --git a/gpg2.changes b/gpg2.changes index 2db0629..c155796 100644 --- a/gpg2.changes +++ b/gpg2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 30 15:01:05 UTC 2023 - Pedro Monreal + +- Fix the build in SLE and Leap by adding an exclude in the files + section for the dirmngr's systemd user units. [jsc#PED-7093] + ------------------------------------------------------------------- Tue Oct 17 10:27:15 UTC 2023 - Pedro Monreal diff --git a/gpg2.spec b/gpg2.spec index 6cab790..0cb04b7 100644 --- a/gpg2.spec +++ b/gpg2.spec @@ -183,6 +183,9 @@ cp systemd-user/README.systemd %{buildroot}%{_docdir}/gpg2/ %dir %{_sysconfdir}/gnupg %config(noreplace) %{_sysconfdir}/gnupg/gpgconf.conf %{_userunitdir}/gpg-agent* +%if 0%{?sle_version} >= 150500 +%exclude %{_userunitdir}/dirmngr.* +%endif %files -n dirmngr %license COPYING*