Use python3-dateutil instead of python3-iso8601
We don't have iso8601 in third_party/ anymore.
This commit is contained in:
parent
08e07cb855
commit
3134f7f1d6
14
samba.spec
14
samba.spec
@ -352,9 +352,6 @@ BuildRequires: python3-etcd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with dc} || %{with testsuite}
|
%if %{with dc} || %{with testsuite}
|
||||||
# Add python3-iso8601 to avoid that the
|
|
||||||
# version in Samba is being packaged
|
|
||||||
BuildRequires: python3-iso8601
|
|
||||||
BuildRequires: python3-pyasn1 >= 0.4.8
|
BuildRequires: python3-pyasn1 >= 0.4.8
|
||||||
|
|
||||||
BuildRequires: bind
|
BuildRequires: bind
|
||||||
@ -392,6 +389,11 @@ BuildRequires: lmdb-devel
|
|||||||
%if %{with dc} || %{with testsuite}
|
%if %{with dc} || %{with testsuite}
|
||||||
BuildRequires: bind
|
BuildRequires: bind
|
||||||
BuildRequires: krb5-server >= %{required_mit_krb5}
|
BuildRequires: krb5-server >= %{required_mit_krb5}
|
||||||
|
%if 0%{?fedora} || 0%{rhel} >= 9
|
||||||
|
BuildRequires: python3-dateutil
|
||||||
|
%else
|
||||||
|
BuildRequires: python3-iso8601
|
||||||
|
%endif
|
||||||
BuildRequires: python3-gpg
|
BuildRequires: python3-gpg
|
||||||
BuildRequires: python3-markdown
|
BuildRequires: python3-markdown
|
||||||
BuildRequires: python3-setproctitle
|
BuildRequires: python3-setproctitle
|
||||||
@ -1456,12 +1458,6 @@ for i in \
|
|||||||
%{python3_sitearch}/samba/remove_dc.py \
|
%{python3_sitearch}/samba/remove_dc.py \
|
||||||
%{python3_sitearch}/samba/samdb.py \
|
%{python3_sitearch}/samba/samdb.py \
|
||||||
%{python3_sitearch}/samba/schema.py \
|
%{python3_sitearch}/samba/schema.py \
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/__init__.py \
|
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/__init__.*.pyc \
|
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/iso8601.*.pyc \
|
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/__pycache__/test_iso8601.*.pyc \
|
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/iso8601.py \
|
|
||||||
%{python3_sitearch}/samba/third_party/iso8601/test_iso8601.py \
|
|
||||||
%{python3_sitearch}/samba/uptodateness.py \
|
%{python3_sitearch}/samba/uptodateness.py \
|
||||||
%{_sbindir}/samba-gpupdate \
|
%{_sbindir}/samba-gpupdate \
|
||||||
; do
|
; do
|
||||||
|
Loading…
Reference in New Issue
Block a user