Accepting request 340849 from home:lmuelle:pyton3-samba

Remove tevent.cpython-*.py[co] on CentOS, Fedora, and RHEL

OBS-URL: https://build.opensuse.org/request/show/340849
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=60
This commit is contained in:
Lars Müller 2015-10-25 17:02:04 +00:00 committed by Git OBS Bridge
parent 522ec7b763
commit d99073906d

View File

@ -224,8 +224,7 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%{python_sitearch}/tevent.py
%{python_sitearch}/_tevent.so
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python_sitearch}/tevent.pyc
%{python_sitearch}/tevent.pyo
%{python_sitearch}/tevent.py[co]
%endif
%if %{with_python3}
@ -233,6 +232,9 @@ rm $RPM_BUILD_ROOT/%{_mandir}/man3/todo.3
%defattr(-,root,root)
%{python3_sitearch}/_tevent.%{py3_soflags}.so
%{python3_sitearch}/tevent.py
%if 0%{?centos_version} > 599 || 0%{?fedora_version} > 11 || 0%{?rhel_version} > 599
%{python3_sitearch}/__pycache__/tevent.cpython-*.py[co]
%endif
%endif
%else