diff --git a/python-stdlib-list.spec b/python-stdlib-list.spec index a6abee8..8747cfd 100644 --- a/python-stdlib-list.spec +++ b/python-stdlib-list.spec @@ -1,13 +1,20 @@ %global pypi_name stdlib-list +%global desc %{expand: \ +Python Standard Library List -This package includes lists of all of the +standard libraries for Python, along with the code for scraping the official +Python docs to get said lists.Listing the modules in the standard library? +Wait, why on Earth would you care about that?! Because knowing whether or +not a module is part of the standard library will come in} + Name: python-%{pypi_name} Version: 0.5.0 -Release: 1%{?dist} -Summary: A list of Python Standard Libraries (2.6-7, 3.2-6) +Release: 2%{?dist} +Summary: A list of Python Standard Libraries License: MIT URL: https://github.com/jackmaney/python-stdlib-list -Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +Source0: %pypi_source BuildArch: noarch %{?python_enable_dependency_generator} @@ -16,27 +23,18 @@ BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description -Python Standard Library List -This package includes lists of all of the -standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6, along with -the code for scraping the official Python docs to get said lists.Listing the -modules in the standard library? Wait, why on Earth would you care about that?! -Because knowing whether or not a module is part of the standard library will -come in... +%{desc} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} - + +# The require not picked up by the dep generator Requires: python3dist(sphinx) Requires: python3dist(sphinx_rtd_theme) %description -n python3-%{pypi_name} -Python Standard Library List -This package includes lists of all of the -standard libraries for Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6, along with -the code for scraping the official Python docs to get said lists.Listing the -modules in the standard library? Wait, why on Earth would you care about that?! -Because knowing whether or not a module is part of the standard library will -come in... +%{desc} %prep %autosetup -n %{pypi_name}-%{version} @@ -56,5 +54,8 @@ rm -rf %{pypi_name}.egg-info %{python3_sitelib}/stdlib_list-%{version}-py?.?.egg-info %changelog +* Fri Aug 16 2019 Luis Bazan - 0.5.0-2 +- Fix comments BZ 1741623 + * Thu Aug 15 2019 Luis Bazan - 0.5.0-1 - Initial package.