Compare commits
No commits in common. "c8-stream-3.8" and "c9s" have entirely different histories.
c8-stream-
...
c9s
8
.gitignore
vendored
8
.gitignore
vendored
@ -1 +1,7 @@
|
|||||||
SOURCES/MarkupSafe-1.1.1.tar.gz
|
MarkupSafe-0.9.2.tar.gz
|
||||||
|
/MarkupSafe-0.11.tar.gz
|
||||||
|
/MarkupSafe-0.18.tar.gz
|
||||||
|
/MarkupSafe-0.23.tar.gz
|
||||||
|
/MarkupSafe-1.0.tar.gz
|
||||||
|
/MarkupSafe-1.1.0.tar.gz
|
||||||
|
/MarkupSafe-1.1.1.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
f70e5fd3c120a1b108d4347ea1115e3962c42026 SOURCES/MarkupSafe-1.1.1.tar.gz
|
|
||||||
@ -1,42 +1,24 @@
|
|||||||
%bcond_with python2
|
|
||||||
|
|
||||||
Name: python-markupsafe
|
Name: python-markupsafe
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 6%{?dist}
|
Release: 12%{?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
|
License: BSD
|
||||||
URL: https://pypi.org/project/MarkupSafe/
|
URL: https://pypi.org/project/MarkupSafe/
|
||||||
Source0: %pypi_source MarkupSafe
|
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
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library for safe markup escaping.
|
A library for safe markup escaping.
|
||||||
|
|
||||||
%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
|
%package -n python3-markupsafe
|
||||||
A library for safe markup escaping. Python 2 version.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-markupsafe
|
|
||||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python3dist(setuptools)
|
||||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
%{?python_provide:%python_provide python3-markupsafe}
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-markupsafe}
|
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-markupsafe
|
%description -n python3-markupsafe
|
||||||
A library for safe markup escaping. Python 3 version.
|
A library for safe markup escaping. Python 3 version.
|
||||||
|
|
||||||
|
|
||||||
@ -45,40 +27,20 @@ A library for safe markup escaping. Python 3 version.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with python2}
|
|
||||||
%py2_build
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
|
||||||
%if %{with python2}
|
|
||||||
%py2_install
|
|
||||||
# C code errantly gets installed
|
|
||||||
rm %{buildroot}%{python2_sitearch}/markupsafe/*.c
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
# C code errantly gets installed
|
# C code errantly gets installed
|
||||||
rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with python2}
|
|
||||||
%{__python2} setup.py test
|
|
||||||
%endif
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
|
|
||||||
%if %{with python2}
|
%files -n python3-markupsafe
|
||||||
%files -n python2-markupsafe
|
|
||||||
%license LICENSE.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
|
%license LICENSE.rst
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/
|
%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/
|
||||||
@ -86,11 +48,30 @@ rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.1.1-6
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-12
|
||||||
- Exclude unsupported i686 arch
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 1.1.1-5
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-11
|
||||||
- Adjusted for Python 3.8 module in RHEL 8
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* 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