diff --git a/freeipa.spec b/freeipa.spec index 966dbaed462f0d9cabdcbf7bcc1409a1e2b59bdf..10d378964e4805d6ff3ac03ea5166b682b3c8727 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -1,3 +1,5 @@ +%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler} + %bcond_without ipatests %bcond_without ipa_join_xml %bcond_with lint @@ -94,7 +96,7 @@ Name: %{package_name} Version: %{IPA_VERSION} -Release: 1 +Release: 2 Summary: The Identity, Policy and Audit system License: GPLv3+ @@ -789,6 +791,11 @@ for p in %patches ; do UpdateTimestamps -p1 $p done +%if "%{vendor}" != "openEuler" + sed -i "s/openEuler/%{vendor}/g" ipaplatform/setup.py + mv ipaplatform/openEuler ipaplatform/%{vendor} +%endif + %build # PATH is workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1005235 export PATH=/usr/bin:/usr/sbin:$PATH @@ -1528,6 +1535,9 @@ fi %changelog +* Sat Oct 11 2025 zhang_jian - 4.11.2-2 +- add vendor + * Mon Feb 24 2025 lvfei - 4.11.2-1 - Update package to version 4.11.2 - Fix CVE-2024-1481