!6 [sync] PR-5: disable server module
From: @openeuler-sync-bot Reviewed-by: @jxy_git Signed-off-by: @jxy_git
This commit is contained in:
commit
1aa5deec1a
27
freeipa.spec
27
freeipa.spec
@ -4,19 +4,9 @@
|
|||||||
%bcond_with doc
|
%bcond_with doc
|
||||||
%bcond_with wheels
|
%bcond_with wheels
|
||||||
|
|
||||||
%global ONLY_CLIENT 0
|
%global ONLY_CLIENT 1
|
||||||
%global enable_server_option --enable-server
|
%global enable_server_option --disable-server
|
||||||
|
%global with_ipatests_option --without-ipatests
|
||||||
%if %{ONLY_CLIENT}
|
|
||||||
%global with_ipatests 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Whether to build ipatests
|
|
||||||
%if %{with ipatests}
|
|
||||||
%global with_ipatests_option --with-ipatests
|
|
||||||
%else
|
|
||||||
%global with_ipatests_option --without-ipatests
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Whether to use XML-RPC with ipa-join
|
# Whether to use XML-RPC with ipa-join
|
||||||
%if %{with ipa_join_xml}
|
%if %{with ipa_join_xml}
|
||||||
@ -104,7 +94,7 @@
|
|||||||
|
|
||||||
Name: %{package_name}
|
Name: %{package_name}
|
||||||
Version: %{IPA_VERSION}
|
Version: %{IPA_VERSION}
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: The Identity, Policy and Audit system
|
Summary: The Identity, Policy and Audit system
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -713,7 +703,7 @@ and integration with Active Directory based infrastructures (Trusts).
|
|||||||
If you are using IPA, you need to install this package.
|
If you are using IPA, you need to install this package.
|
||||||
|
|
||||||
|
|
||||||
%if %{with ipatests}
|
%if %{without ipatests}
|
||||||
|
|
||||||
%package -n python3-ipatests
|
%package -n python3-ipatests
|
||||||
Summary: IPA tests and test tools
|
Summary: IPA tests and test tools
|
||||||
@ -838,7 +828,7 @@ rm -f %{buildroot}%{_usr}/share/ipa/ui/images/login-screen-logo.png
|
|||||||
rm -f %{buildroot}%{_usr}/share/ipa/ui/images/product-name.png
|
rm -f %{buildroot}%{_usr}/share/ipa/ui/images/product-name.png
|
||||||
|
|
||||||
|
|
||||||
%if %{with ipatests}
|
%if %{without ipatests}
|
||||||
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python3_version}
|
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python3_version}
|
||||||
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python3_version}
|
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python3_version}
|
||||||
mv %{buildroot}%{_bindir}/ipa-test-task %{buildroot}%{_bindir}/ipa-test-task-%{python3_version}
|
mv %{buildroot}%{_bindir}/ipa-test-task %{buildroot}%{_bindir}/ipa-test-task-%{python3_version}
|
||||||
@ -1501,7 +1491,7 @@ fi
|
|||||||
%{python3_sitelib}/ipaplatform-*.egg-info
|
%{python3_sitelib}/ipaplatform-*.egg-info
|
||||||
|
|
||||||
|
|
||||||
%if %{with ipatests}
|
%if %{without ipatests}
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-ipatests
|
%files -n python3-ipatests
|
||||||
@ -1535,6 +1525,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 28 2021 wutao <wutao61@huawei.com> - 4.9.3-4
|
||||||
|
- disable server module and ipatests
|
||||||
|
|
||||||
* Thu Sep 2 2021 wutao <wutao61@huawei.com> - 4.9.3-2
|
* Thu Sep 2 2021 wutao <wutao61@huawei.com> - 4.9.3-2
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user