From 0a8a28caaaa22d175b12d39efdc40d24ab037c85e5b0599b8deb921700b9e7e7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 27 Jan 2023 13:46:48 +0000 Subject: [PATCH] Accepting request 1061231 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/1061231 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=46 --- python311.changes | 5 +++++ python311.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python311.changes b/python311.changes index ec6df36..4775e0b 100644 --- a/python311.changes +++ b/python311.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 26 13:28:24 UTC 2023 - Thorsten Kukuk + +- Disable NIS for new products, it's deprecated and gets removed + ------------------------------------------------------------------- Tue Jan 24 12:23:34 UTC 2023 - Dirk Müller diff --git a/python311.spec b/python311.spec index d517701..4fbdf47 100644 --- a/python311.spec +++ b/python311.spec @@ -185,7 +185,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 @@ -802,7 +802,9 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo %exclude %{sitedir}/sqlite3/test %{dynlib readline} %{dynlib _sqlite3} +%if 0%{?suse_version} < 1599 %{dynlib nis} +%endif %files -n %{python_pkg_name}-idle %defattr(644, root, root, 755)