## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 Name: python-markupsafe Version: 3.0.2 Release: %autorelease Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD-3-Clause URL: https://palletsprojects.com/p/markupsafe/ Source: https://github.com/pallets/markupsafe/archive/%{version}/markupsafe-%{version}.tar.gz BuildRequires: gcc BuildRequires: python3-devel %global _description %{expand: MarkupSafe implements a text object that escapes characters so it is safe to use in HTML and XML. Characters that have special meanings are replaced so that they display as the actual characters. This mitigates injection attacks, meaning untrusted user input can safely be displayed on a page.} %description %_description %package -n python3-markupsafe Summary: %{summary} %description -n python3-markupsafe %_description %prep %autosetup -n markupsafe-%{version} # Exclude C source from the package: echo 'global-exclude *.c' >> MANIFEST.in # Allow older setuptools sed -i '/setuptools/s/>=.*"/"/' pyproject.toml %generate_buildrequires %pyproject_buildrequires requirements/tests.in %build %pyproject_wheel %install %pyproject_install %pyproject_save_files markupsafe %check %pytest %files -n python3-markupsafe -f %{pyproject_files} %doc CHANGES.rst README.md %changelog ## START: Generated by rpmautospec * Wed Oct 23 2024 Lumir Balhar - 3.0.2-1 - Update to 3.0.2 (rhbz#2317087) * Thu Jul 25 2024 Karolina Surma - 2.1.5-4 - Add a simple smoke test * Fri Jul 19 2024 Fedora Release Engineering - 2.1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.1.5-2 - Rebuilt for Python 3.13 * Mon Mar 25 2024 Charalampos Stratakis - 2.1.5-1 - Update to 2.1.5 - Resolves: rhbz#2259296 * Fri Jan 26 2024 Fedora Release Engineering - 2.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Ryan Erickson - 2.1.3-1 - Update to 2.1.3 - Fixes: rhbz#2211988 * Tue Jun 13 2023 Python Maint - 2.1.2-2 - Rebuilt for Python 3.12 * Fri Jan 27 2023 Miro Hrončok - 2.1.2-1 - Update to 2.1.2 - Fixes: rhbz#2161767 * Fri Jan 20 2023 Fedora Release Engineering - 2.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.1.1-2 - Rebuilt for Python 3.11 * Wed Mar 09 2022 Charalampos Stratakis - 2.1.1-1 - Update to 2.1.1 - Fixes: rhbz#2064300 * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Lumír Balhar - 2.0.0-1 - Update to 2.0.0 Resolves: rhbz#1823024 * Wed Jun 02 2021 Python Maint - 1.1.1-11 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 2020 Miro Hrončok - 1.1.1-9 - Disable Python 2 entirely * Wed Nov 25 2020 Miro Hrončok - 1.1.1-8 - Disable Python 2 in ELN * Wed Jul 29 2020 Fedora Release Engineering - 1.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 22 2020 Miro Hrončok - 1.1.1-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.1-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Thu Aug 15 2019 Miro Hrončok - 1.1.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Feb 27 2019 Miro Hrončok - 1.1.1-1 - Update to 1.1.1 (#1680333) * Mon Feb 18 2019 Yatin Karel - 1.1.0-1 - Update to 1.1.0 * Sat Feb 02 2019 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 31 2018 Miro Hrončok - 1.0-1 - Update to 1.0 (#1430160) * Sat Jul 14 2018 Fedora Release Engineering - 0.23-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Miro Hrončok - 0.23-18 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.23-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.23-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Fri Jul 28 2017 Troy Dawson - 0.23-15 - Clean up spec file * Thu Jul 27 2017 Fedora Release Engineering - 0.23-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.23-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 09 2016 Charalampos Stratakis - 0.23-12 - Rebuild for Python 3.6 * Thu Sep 22 2016 Orion Poplawski - 0.23-11 - Ship python2-markupsafe - Modernize spec * Tue Jul 19 2016 Fedora Release Engineering - 0.23-10 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.23-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Oct 12 2015 Robert Kuska - 0.23-8 - Rebuilt for Python3.5 rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.23-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.23-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 30 2014 Toshio Kuratomi - 0.23-5 - Replace the python-setuptools-devel BR with python-setuptools * Sat Jun 07 2014 Fedora Release Engineering - 0.23-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 10 2014 Orion Poplawski - 0.23-3 - Really rebuild for Python 3.4 * Fri May 9 2014 Orion Poplawski - 0.23-2 - Rebuild for Python 3.4 * Fri May 9 2014 Orion Poplawski - 0.23-1 - Update to 0.23 * Fri Oct 11 2013 Luke Macken - 0.18-1 - Update to 0.18 (#678537) * Sun Aug 04 2013 Fedora Release Engineering - 0.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Aug 04 2012 David Malcolm - 0.11-7 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 * Fri Aug 3 2012 David Malcolm - 0.11-6 - remove rhel logic from with_python3 conditional * Sat Jul 21 2012 Fedora Release Engineering - 0.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 29 2010 David Malcolm - 0.11-2 - rebuild for newer python3 * Thu Sep 30 2010 Luke Macken - 0.11-1 - Update to 0.11 * Wed Aug 25 2010 Thomas Spura - 0.9.2-5 - rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html * Fri Jul 23 2010 David Malcolm - 0.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Thu Jun 24 2010 Kyle VanderBeek - 0.9.2-3 - Fix missing setuptools BuildRequires. * Thu Jun 24 2010 Kyle VanderBeek - 0.9.2-2 - Fixed sitearch and python3 definitions to work better with older Fedora/RHEL. * Wed Jun 23 2010 Kyle VanderBeek - 0.9.2-1 - Initial version. ## END: Generated by rpmautospec