From 873d7760ab1e13d74c82ddba8abdb8654569a604 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Apr 20 2023 10:13:44 +0000 Subject: Minor spec cleanup --- diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 7a6cd03..2526fa0 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -15,7 +15,6 @@ Source0: https://github.com/ipython/%{modname}/releases/download/v%{versi BuildArch: noarch BuildRequires: python3-devel -BuildRequires: pyproject-rpm-macros %global _description \ This package provides the IPython kernel for Jupyter. @@ -74,7 +73,7 @@ sed -e "s|\(('https://docs.python.org/3/', \)None)|\1'/usr/share/doc/python3-doc %endif %generate_buildrequires -%pyproject_buildrequires -w %{?with_tests:-x test} +%pyproject_buildrequires %{?with_tests:-x test} %build %pyproject_wheel @@ -99,8 +98,8 @@ ls %{buildroot}%{_datadir}/jupyter/kernels/python3/ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json -%if %{with tests} %check +%if %{with tests} %pytest %else # datapub, pickleutil, serialize need ipyparallel