From caf52b7d13a9427f36f47372f67dbea9e8bd8639 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Feb 14 2019 15:59:02 +0000 Subject: Drop tabs --- diff --git a/python-ipykernel.spec b/python-ipykernel.spec index 847629e..04cda9d 100644 --- a/python-ipykernel.spec +++ b/python-ipykernel.spec @@ -1,13 +1,13 @@ -%global modname ipykernel +%global modname ipykernel -Name: python-%{modname} +Name: python-%{modname} Version: 5.1.0 Release: 1%{?dist} -Summary: IPython Kernel for Jupyter -License: BSD -URL: https://github.com/ipython/%{modname} -Source0: https://github.com/ipython/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz -BuildArch: noarch +Summary: IPython Kernel for Jupyter +License: BSD +URL: https://github.com/ipython/%{modname} +Source0: https://github.com/ipython/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +BuildArch: noarch BuildRequires: python3-sphinx BuildRequires: python3-sphinxcontrib-github-alt @@ -15,12 +15,12 @@ BuildRequires: python3-sphinxcontrib-github-alt %global _description \ This package provides the IPython kernel for Jupyter. -%description %{_description} +%description %{_description} -%package -n python%{python3_pkgversion}-%{modname} -Summary: %{summary} +%package -n python%{python3_pkgversion}-%{modname} +Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} -BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-ipython >= 4 BuildRequires: python%{python3_pkgversion}-jupyter-client BuildRequires: python%{python3_pkgversion}-traitlets >= 4.1.0 @@ -41,14 +41,14 @@ Recommends: python%{python3_pkgversion}-pandas Recommends: python%{python3_pkgversion}-scipy Recommends: python%{python3_pkgversion}-pillow -%description -n python%{python3_pkgversion}-%{modname} %{_description} +%description -n python%{python3_pkgversion}-%{modname} %{_description} Python 3 version. -%package doc -Summary: Documentation for %{name} +%package doc +Summary: Documentation for %{name} -%description doc +%description doc This package contains the documentation of %{name}. %prep @@ -79,7 +79,7 @@ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json %{__python3} -m pytest ipykernel -k "not test_sys_path and not test_sys_path_profile_dir and not test_complete" -%files -n python%{python3_pkgversion}-%{modname} +%files -n python%{python3_pkgversion}-%{modname} %license COPYING.md %doc CONTRIBUTING.md MANIFEST.in README.md %{python3_sitelib}/%{modname}* @@ -87,7 +87,7 @@ cat %{buildroot}%{_datadir}/jupyter/kernels/python3/kernel.json %{python3_sitelib}/__pycache__/%{modname}* %{_datadir}/jupyter/kernels/python3 -%files doc +%files doc %doc %{_docdir}/%{name}/html