From cc8c80c04bab6ec65a12dbe779bfb12b2b6f793a Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Wed, 11 Aug 2021 11:25:37 +0530 Subject: [PATCH] Exclude PyDSDB library files Following library files are built without AD DC but has dependency on other components which are only available with DC: /usr/lib64/python3.9/site-packages/samba/dsdb.cpython-39-x86_64-linux-gnu.so /usr/lib64/python3.9/site-packages/samba/dsdb_dns.cpython-39-x86_64-linux-gnu.so Therefore we remove those from buildroot. resolves: #1991353 --- samba.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samba.spec b/samba.spec index 2ab345f..b180f57 100644 --- a/samba.spec +++ b/samba.spec @@ -1201,6 +1201,8 @@ for i in \ %{python3_sitearch}/samba/dcerpc/dnsserver.*.so \ %{python3_sitearch}/samba/dnsserver.py \ %{python3_sitearch}/samba/domain_update.py \ + %{python3_sitearch}/samba/dsdb.*.so + %{python3_sitearch}/samba/dsdb_dns.*.so %{python3_sitearch}/samba/forest_update.py \ %{python3_sitearch}/samba/kcc/__init__.py \ %{python3_sitearch}/samba/kcc/debug.py \