From cb0b44e6817e1e1585d544d68f5159995095156b6dcdfb7dc746f844f0e48d32 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 15 Jan 2020 14:44:36 +0000 Subject: [PATCH] Accepting request 763683 from home:bmwiedemann:branches:devel:languages:python:jupyter Use pyproject_install macro (boo#1094323) OBS-URL: https://build.opensuse.org/request/show/763683 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-jupyterlab-latex?expand=0&rev=7 --- jupyter-jupyterlab-latex.changes | 5 +++++ jupyter-jupyterlab-latex.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/jupyter-jupyterlab-latex.changes b/jupyter-jupyterlab-latex.changes index 43cedc1..f7c4701 100644 --- a/jupyter-jupyterlab-latex.changes +++ b/jupyter-jupyterlab-latex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 12 19:09:03 UTC 2020 - Bernhard Wiedemann + +- Use pyproject_install macro (boo#1094323) + ------------------------------------------------------------------- Sat Jul 27 23:43:58 UTC 2019 - Todd R diff --git a/jupyter-jupyterlab-latex.spec b/jupyter-jupyterlab-latex.spec index ec7b744..ce5b434 100644 --- a/jupyter-jupyterlab-latex.spec +++ b/jupyter-jupyterlab-latex.spec @@ -16,6 +16,7 @@ # +%define pythons python3 Name: jupyter-jupyterlab-latex Version: 1.0.0 Release: 0 @@ -49,7 +50,8 @@ An extension for JupyterLab which allows for live-editing of LaTeX documents. # Not Needed %install -pip%{python3_bin_suffix} install --root=%{buildroot} %{SOURCE0} +cp -a %{SOURCE0} . +%pyproject_install %{jupyter_move_config} %{fdupes %{buildroot}%{_jupyter_prefix} %{buildroot}%{python3_sitelib}}