--- /dev/null
+--- ipykernel-4.10.1/setup.py.orig 2019-08-08 23:42:36.000000000 +0200
++++ ipykernel-4.10.1/setup.py 2019-09-30 21:25:15.196203718 +0200
+@@ -76,7 +76,7 @@
+ ],
+ )
+
+-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
++if True:
+ import setuptools
+
+ setuptools_args = {}
Summary(pl.UTF-8): Jądro IPythona dla Jupytera
Name: python-ipykernel
Version: 4.10.1
-Release: 1
+Release: 2
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/ipykernel/
Source0: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
# Source0-md5: 23871bb7da2907749cb65a9446c9e637
+Patch0: %{name}-use_setuptools.patch
URL: https://pypi.org/project/ipykernel/
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
%prep
%setup -q -n ipykernel-%{version}
+%patch0 -p1
%build
%if %{with python2}