Compare commits
No commits in common. "c10" and "c8-stream-3.8" have entirely different histories.
c10
...
c8-stream-
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
markupsafe-2.1.3.tar.gz
|
SOURCES/MarkupSafe-1.1.1.tar.gz
|
||||||
|
|||||||
1
.python-markupsafe.metadata
Normal file
1
.python-markupsafe.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
f70e5fd3c120a1b108d4347ea1115e3962c42026 SOURCES/MarkupSafe-1.1.1.tar.gz
|
||||||
@ -1,128 +1,96 @@
|
|||||||
|
%bcond_with python2
|
||||||
|
|
||||||
Name: python-markupsafe
|
Name: python-markupsafe
|
||||||
Version: 2.1.3
|
Version: 1.1.1
|
||||||
Release: 6%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||||
License: BSD-3-Clause
|
License: BSD
|
||||||
URL: https://palletsprojects.com/p/markupsafe/
|
URL: https://pypi.org/project/MarkupSafe/
|
||||||
Source: https://github.com/pallets/markupsafe/archive/%{version}/markupsafe-%{version}.tar.gz
|
Source0: %pypi_source MarkupSafe
|
||||||
|
|
||||||
|
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
||||||
|
# x86_64 compose of CRB, but we don't want to ship it at all.
|
||||||
|
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
||||||
|
ExcludeArch: i686
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: python3-devel
|
|
||||||
|
|
||||||
%global _description %{expand:
|
%description
|
||||||
MarkupSafe implements a text object that escapes characters so it is
|
A library for safe markup escaping.
|
||||||
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
|
%if %{with python2}
|
||||||
|
%package -n python2-markupsafe
|
||||||
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 2
|
||||||
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: python2dist(setuptools)
|
||||||
|
%{?python_provide:%python_provide python2-markupsafe}
|
||||||
|
|
||||||
|
%description -n python2-markupsafe
|
||||||
|
A library for safe markup escaping. Python 2 version.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n python3-markupsafe
|
%package -n python%{python3_pkgversion}-markupsafe
|
||||||
Summary: %{summary}
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
||||||
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-markupsafe}
|
||||||
|
|
||||||
%description -n python3-markupsafe %_description
|
%description -n python%{python3_pkgversion}-markupsafe
|
||||||
|
A library for safe markup escaping. Python 3 version.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n markupsafe-%{version}
|
%autosetup -n MarkupSafe-%{version}
|
||||||
# Exclude C source from the package:
|
|
||||||
echo 'global-exclude *.c' >> MANIFEST.in
|
|
||||||
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires requirements/tests.in
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%if %{with python2}
|
||||||
|
%py2_build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%if %{with python2}
|
||||||
%pyproject_save_files markupsafe
|
%py2_install
|
||||||
|
# C code errantly gets installed
|
||||||
|
rm %{buildroot}%{python2_sitearch}/markupsafe/*.c
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%py3_install
|
||||||
|
# C code errantly gets installed
|
||||||
|
rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%if %{with python2}
|
||||||
|
%{__python2} setup.py test
|
||||||
|
%endif
|
||||||
|
%{__python3} setup.py test
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-markupsafe -f %{pyproject_files}
|
%if %{with python2}
|
||||||
|
%files -n python2-markupsafe
|
||||||
|
%license LICENSE.rst
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
|
%{python2_sitearch}/MarkupSafe-%{version}-py%{python2_version}.egg-info/
|
||||||
|
%{python2_sitearch}/markupsafe/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n python%{python3_pkgversion}-markupsafe
|
||||||
|
%license LICENSE.rst
|
||||||
|
%doc CHANGES.rst README.rst
|
||||||
|
%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/
|
||||||
|
%{python3_sitearch}/markupsafe/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.1.3-6
|
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.1.1-6
|
||||||
- Bump release for October 2024 mass rebuild:
|
- Exclude unsupported i686 arch
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1.3-5
|
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 1.1.1-5
|
||||||
- Bump release for June 2024 mass rebuild
|
- Adjusted for Python 3.8 module in RHEL 8
|
||||||
|
|
||||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jun 16 2023 Ryan Erickson <rerickso@redhat.com> - 2.1.3-1
|
|
||||||
- Update to 2.1.3
|
|
||||||
- Fixes: rhbz#2211988
|
|
||||||
|
|
||||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.1.2-2
|
|
||||||
- Rebuilt for Python 3.12
|
|
||||||
|
|
||||||
* Fri Jan 27 2023 Miro Hrončok <mhroncok@redhat.com> - 2.1.2-1
|
|
||||||
- Update to 2.1.2
|
|
||||||
- Fixes: rhbz#2161767
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.1-2
|
|
||||||
- Rebuilt for Python 3.11
|
|
||||||
|
|
||||||
* Wed Mar 09 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.1.1-1
|
|
||||||
- Update to 2.1.1
|
|
||||||
- Fixes: rhbz#2064300
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 22 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
|
||||||
- Update to 2.0.0
|
|
||||||
Resolves: rhbz#1823024
|
|
||||||
|
|
||||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.1-11
|
|
||||||
- Rebuilt for Python 3.10
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 21 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-9
|
|
||||||
- Disable Python 2 entirely
|
|
||||||
|
|
||||||
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-8
|
|
||||||
- Disable Python 2 in ELN
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-6
|
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-4
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-4
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
Loading…
Reference in New Issue
Block a user