## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname parse Name: python-%{srcname} Version: 1.20.2 Release: %autorelease Summary: Opposite of format() License: MIT URL: http://pypi.python.org/pypi/parse Source: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %global _description %{expand: Parse strings using a specification based on the Python format() syntax. "parse()" is the opposite of "format()"} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{srcname} %check %pytest -v %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.20.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 12 2024 Benjamin A. Beasley - 1.20.2-1 - Update to 1.20.2 (close RHBZ#2216005) * Wed Jun 12 2024 Benjamin A. Beasley - 1.19.0-18 - Assert that the .dist-info directory contains a license file * Wed Jun 12 2024 Benjamin A. Beasley - 1.19.0-13 - Remove “Python 3 version” from description text * Wed Jun 12 2024 Benjamin A. Beasley - 1.19.0-11 - Correct the License (and convert to SPDX) - Before 1.19.1, the package had an incorrect trove classifier indicating a BSD license, but the license file had MIT text; see https://github.com/r1chardj0n3s/parse/issues/145. * Fri Jun 07 2024 Python Maint - 1.19.0-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.19.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.19.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.19.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.19.0-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.19.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.19.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.19.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 29 2021 Igor Raits - 1.19.0-1 - Update to 1.19.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.18.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.18.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 08 2020 Lumír Balhar - 1.18.0-1 - Update to 1.18.0 (#1668518) * Wed Jul 29 2020 Fedora Release Engineering - 1.11.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.11.1-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.11.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.11.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.11.1-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.11.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jan 25 2019 Igor Gnatenko - 1.11.1-1 - Update to 1.11.1 * Wed Jan 09 2019 Igor Gnatenko - 1.8.4-2 - Drop python2 subpackage * Mon Jul 30 2018 Miro Hrončok - 1.8.4-1 - Update to 1.8.4 * Sat Jul 14 2018 Fedora Release Engineering - 1.6.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.6.6-9 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.6.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.6.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.6.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.6.6-5 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Tue Apr 19 2016 Igor Gnatenko - 1.6.6-3 - Remove unneded BuildRequires - Use %%python_provde - Correctly split to python2- subpkg - Fix spurious-executable-perm - Don't use %%py3dir * Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Dec 15 2015 Matěj Cepl - 1.6.6-1 - Upgrade to the latest upstream (#1291602) * Mon Dec 14 2015 David King - 1.6.4-4 - Fix test failure with Python 3.5 (#1291218) * Tue Nov 10 2015 Fedora Release Engineering - 1.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 1.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 19 2014 Matěj Cepl - 1.6.4-1 - New upstream release. * Sat Jun 07 2014 Fedora Release Engineering - 1.6.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 1.6.2-5 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Tue Aug 27 2013 Matěj Cepl - 1.6.2-4 - There is no official py3k support for RHEL-6. * Wed Jul 24 2013 Matěj Cepl - 1.6.2-3 - We actually don't need 2to3. * Wed Jul 24 2013 Matěj Cepl - 1.6.2-2 - make python3 package as well - BR python-setuptools - fix changelog * Tue Jul 23 2013 Matěj Cepl - 1.6.2-1 - initial package for Fedora ## END: Generated by rpmautospec