From a2b5c7c23b421898c5471a85fb30907cabcf88259b74a7be889ad00328686187 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 27 Jan 2023 16:14:56 +0000 Subject: [PATCH] Accepting request 1061584 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/1061584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=70 --- python310.changes | 5 +++++ python310.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python310.changes b/python310.changes index 7d51e41..6717a2c 100644 --- a/python310.changes +++ b/python310.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 + ------------------------------------------------------------------- Thu Dec 8 14:42:15 UTC 2022 - Matej Cepl diff --git a/python310.spec b/python310.spec index f3bfd07..b84e095 100644 --- a/python310.spec +++ b/python310.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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 @@ -793,7 +793,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)