Add python2-dns to avoid installing the Samba copy

This commit is contained in:
Andreas Schneider 2017-07-19 11:14:10 +02:00
parent c276784823
commit 76c6fa8694

View File

@ -183,6 +183,7 @@ BuildRequires: popt-devel
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python2-pygpgme BuildRequires: python2-pygpgme
BuildRequires: python2-subunit BuildRequires: python2-subunit
BuildRequires: python2-dns
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: quota-devel BuildRequires: quota-devel
BuildRequires: readline-devel BuildRequires: readline-devel
@ -1011,9 +1012,6 @@ done
# FIXME # FIXME
find %{buildroot}%{python2_sitearch} -name "*.pyc" -print -delete find %{buildroot}%{python2_sitearch} -name "*.pyc" -print -delete
# remove embedded python2-dns code from third_parties
rm -rf %{buildroot}%{python2_sitearch}/%{name}/third_party/dns
%if %{with testsuite} %if %{with testsuite}
%check %check