%global pkg_name restructuredtext-lint %global pypi_name restructuredtext_lint %global desc Lint reStructuredText linter files with an API or a CLI.\ It reports errors and warning including:\ - Unknown directives\ - Wrong usage of directives\ - Inconsistencies in title levels\ - Unexpected unindent Name: python-%{pkg_name} Version: 1.3.1 Release: 6%{?dist} Summary: reStructuredText linter License: Unlicense URL: https://pypi.python.org/pypi/restructuredtext_lint Source0: https://files.pythonhosted.org/packages/36/a6/507be0d9125cd37530e96062b7f838ee1777a0e30855197964603da7b990/restructuredtext_lint-1.3.1.tar.gz BuildArch: noarch %description %{desc} %package -n python3-%{pkg_name} Summary: %{summary} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-nose >= 1.3.0 BuildRequires: python3-PyYAML >= 3.11 BuildRequires: python3-docutils >= 0.11 BuildRequires: python3-docutils < 1.0 Requires: python3-docutils >= 0.11 Requires: python3-docutils < 1.0 %{?python_provide:%python_provide python3-%{pkg_name}} %description -n python3-%{pkg_name} %{desc} %prep %autosetup -n %{pypi_name}-%{version} -p1 # Remove pyc files from source find -name '*.pyc' -delete %build %py3_build %install %py3_install %check PYTHONPATH="$(pwd)" nosetests-%{python3_version} -v . %files -n python3-%{pkg_name} %doc README.rst %license UNLICENSE %{_bindir}/rst-lint %{_bindir}/restructuredtext-lint %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ %{python3_sitelib}/%{pypi_name}/ %changelog * Fri Jan 21 2022 Fedora Release Engineering - 1.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.1-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 18 2020 Julien Enselme - 1.3.1-1 - Update to 1.3.1 * Tue May 26 2020 Miro Hrončok - 1.3.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.3.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.3.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 24 2019 Julien Enselme - 1.3.0-1 - Update to 1.3.0 * Sat Feb 02 2019 Fedora Release Engineering - 1.1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 02 2018 Julien Enselme - 1.1.3-4 - Remove Python 2 subpackage (#1629792) * Sat Jul 14 2018 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.3-2 - Rebuilt for Python 3.7 * Mon Feb 26 2018 Julien Enselme - 1.1.3-1 - Update to 1.1.3 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Jan 27 2018 Iryna Shcherbina - 1.1.2-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Tue Nov 14 2017 Julien Enselme - 1.1.2-1 - Update to 1.1.2 * Sat Aug 05 2017 Julien Enselme - 1.1.0-1 - Update to 1.1.0 * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Mar 17 2017 Julien Enselme - 1.0.1-1 - Update to 1.0.1 * Sat Feb 11 2017 Fedora Release Engineering - 0.17.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.17.2-4 - Rebuild for Python 3.6 * Sun Oct 30 2016 Julien Enselme - 0.17.2-3 - Correct typos in description - Use -delete option in find to delete pyc files * Sun Oct 30 2016 Julien Enselme - 0.17.2-2 - Expand description - Rename package from python-restructuredtext_lint to python-restructuredtext-lint - Use only on executable * Tue Oct 11 2016 Julien Enselme - 0.17.2-1 - Inital package