From d4c3b150fb4494313ef4b0e3324cc9e48efa87a2 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 24 Oct 2025 14:35:10 +0300 Subject: [PATCH] freeipa.spec: use proper package name when installing Web UI license On CentOS Stream and RHEL the package name is 'ipa', not 'freeipa' Signed-off-by: Alexander Bokovoy Reviewed-By: Rob Crittenden Reviewed-By: David Hanina Reviewed-By: Carla Martinez --- freeipa.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 4a933552c..1a194672b 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -1170,7 +1170,7 @@ make %{?_smp_mflags} check VERBOSE=yes LIBDIR=%{_libdir} # (These are typically configuration files created by IPA installer.) # All other artifacts should be created by make install. -%make_install +%make_install PACKAGE_NAME=%{package_name} # don't package ipasphinx for now rm -rf %{buildroot}%{python3_sitelib}/ipasphinx* @@ -1721,7 +1721,7 @@ fi %files server-common %doc README.md Contributors.txt %license COPYING -%license %{_defaultlicensedir}/%{name}-server-common/modern-ui/COPYING +%license %{_defaultlicensedir}/%{package_name}-server-common/modern-ui/COPYING %ghost %verify(not owner group) %dir %{_sharedstatedir}/kdcproxy %dir %attr(0755,root,root) %{_sysconfdir}/ipa/kdcproxy %config(noreplace) %{_sysconfdir}/ipa/kdcproxy/kdcproxy.conf