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 <bwiedemann@suse.com>
+
+- Use pyproject_install macro (boo#1094323)
+
 -------------------------------------------------------------------
 Sat Jul 27 23:43:58 UTC 2019 - Todd R <toddrme2178@gmail.com>
 
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}}