From: toddrme2178@gmail.com Date: 2017-09-20 Subject: Use rpm paths Use single-line paths. These must be replaced with the appropriate system paths in the .spec file. --- Index: jupyter_core-5.1.1/jupyter_core/paths.py =================================================================== --- jupyter_core-5.1.1.orig/jupyter_core/paths.py +++ jupyter_core-5.1.1/jupyter_core/paths.py @@ -219,10 +219,7 @@ else: else: # PROGRAMDATA is not defined by default on XP. SYSTEM_JUPYTER_PATH = [os.path.join(sys.prefix, "share", "jupyter")] else: - SYSTEM_JUPYTER_PATH = [ - "/usr/local/share/jupyter", - "/usr/share/jupyter", - ] + SYSTEM_JUPYTER_PATH = [ @_datadir_jupyter_@ ] ENV_JUPYTER_PATH: List[str] = [os.path.join(sys.prefix, "share", "jupyter")] @@ -301,10 +298,7 @@ else: else: # PROGRAMDATA is not defined by default on XP. SYSTEM_CONFIG_PATH = [] else: - SYSTEM_CONFIG_PATH = [ - "/usr/local/etc/jupyter", - "/etc/jupyter", - ] + SYSTEM_CONFIG_PATH = [ @_distconfdir_jupyter_@ ] ENV_CONFIG_PATH: List[str] = [os.path.join(sys.prefix, "etc", "jupyter")]