diff --git a/ldb.spec b/ldb.spec index d802928..cf74b87 100644 --- a/ldb.spec +++ b/ldb.spec @@ -281,6 +281,9 @@ cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir} %defattr(-,root,root) %{_libdir}/libpyldb-util.%{py3_soflags}.so.* %{python3_sitearch}/_ldb_text.py +%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599 +%{python3_sitearch}/__pycache__/_ldb_text.cpython-*.py[co] +%endif %{python3_sitearch}/ldb.%{py3_soflags}.so %files -n python3-ldb-devel