From c4677b0c0caceba8e961ca05bf6bc62aad1380941f14b885fff062f08c131dd5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 27 Jan 2023 16:15:01 +0000 Subject: [PATCH] Accepting request 1061586 from home:kukuk:branches:devel:languages:python:Factory - Disable NIS for new products, it's deprecated and gets removed OBS-URL: https://build.opensuse.org/request/show/1061586 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=132 --- python39.changes | 5 +++++ python39.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python39.changes b/python39.changes index f70908a..0107365 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 27 15:00:21 UTC 2023 - Thorsten Kukuk + +- Disable NIS for new products, it's deprecated and gets removed + ------------------------------------------------------------------- Fri Jan 13 12:06:59 UTC 2023 - Martin Liška diff --git a/python39.spec b/python39.spec index 6905740..f4f5475 100644 --- a/python39.spec +++ b/python39.spec @@ -180,7 +180,7 @@ BuildRequires: pkgconfig(zlib) # The provider for python(abi) is in rpm-build-python BuildRequires: rpm-build-python %endif -%if 0%{?suse_version} >= 1500 +%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1599 BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc) %endif @@ -779,7 +779,9 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo %exclude %{sitedir}/sqlite3/test %{dynlib readline} %{dynlib _sqlite3} +%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1599 %{dynlib nis} +%endif %files -n %{python_pkg_name}-idle %defattr(644, root, root, 755)