From 9e4a26bc874ef9544e475aa6eacfa14ef2032b43763f0b6ef27ae74826437698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 16 Dec 2020 13:03:39 +0000 Subject: [PATCH] Accepting request 856455 from home:bnavigator:branches:devel:languages:python:jupyter - Provide the old jupyter package name only for the primary Python3 interpreter -- gh#openSUSE/python-rpm-macros#66 - There are no tests OBS-URL: https://build.opensuse.org/request/show/856455 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jgraph?expand=0&rev=7 --- python-jgraph.changes | 7 +++++++ python-jgraph.spec | 13 ++----------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/python-jgraph.changes b/python-jgraph.changes index f6e5864..ba2519d 100644 --- a/python-jgraph.changes +++ b/python-jgraph.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Dec 15 12:52:41 UTC 2020 - Benjamin Greiner + +- Provide the old jupyter package name only for the primary + Python3 interpreter -- gh#openSUSE/python-rpm-macros#66 +- There are no tests + ------------------------------------------------------------------- Wed Nov 13 16:40:01 UTC 2019 - Todd R diff --git a/python-jgraph.spec b/python-jgraph.spec index 0c24423..b57b523 100644 --- a/python-jgraph.spec +++ b/python-jgraph.spec @@ -1,7 +1,7 @@ # # spec file for package python-jgraph # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 -%bcond_without test Name: python-jgraph Version: 0.2.1 Release: 0 @@ -35,10 +34,7 @@ Requires: python-notebook Provides: python-jupyter_jgraph = %{version} Obsoletes: python-jupyter_jgraph <= %{version} BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module ipython} -%endif -%ifpython3 +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: jupyter-jgraph = %{version} %endif %python_subpackages @@ -61,11 +57,6 @@ cp -r js jgraph/js %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} -%check -%python_exec setup.py test -%endif - %files %{python_files} %doc README.md %license LICENSE.txt