forked from pool/python-jupyter-core
Update patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-core?expand=0&rev=16
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python-jupyter-core
|
||||
# spec file for package python-jupyter-core-test
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@@ -44,7 +44,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: jupyter-jupyter_core-filesystem
|
||||
Requires: python-traitlets
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Recommends: python-ipython
|
||||
Provides: python-jupyter_core = %{version}-%{release}
|
||||
Obsoletes: python-jupyter_core < %{version}-%{release}
|
||||
|
@@ -9,7 +9,7 @@ system paths in the .spec file.
|
||||
|
||||
--- a/jupyter_core/paths.py
|
||||
+++ b/jupyter_core/paths.py
|
||||
@@ -117,10 +117,7 @@
|
||||
@@ -124,10 +124,7 @@ if os.name == 'nt':
|
||||
else: # PROGRAMDATA is not defined by default on XP.
|
||||
SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
|
||||
else:
|
||||
@@ -21,7 +21,7 @@ system paths in the .spec file.
|
||||
|
||||
ENV_JUPYTER_PATH = [os.path.join(sys.prefix, 'share', 'jupyter')]
|
||||
|
||||
@@ -169,10 +166,7 @@
|
||||
@@ -186,10 +183,7 @@ if os.name == 'nt':
|
||||
else: # PROGRAMDATA is not defined by default on XP.
|
||||
SYSTEM_CONFIG_PATH = []
|
||||
else:
|
||||
|
Reference in New Issue
Block a user