From 997187a9e74dfcc85b17a8bc66322c9eb96454048f265839bba50089668ebd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Wed, 11 Nov 2015 21:27:20 +0000 Subject: [PATCH] Tweak the filelist for CentOS, Fedora, and RHEL OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=87 --- ldb.spec | 3 +++ 1 file changed, 3 insertions(+) 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