|
|
411ed0 |
%bcond_with python2
|
|
|
411ed0 |
|
|
|
411ed0 |
Name: python-markupsafe
|
|
|
411ed0 |
Version: 1.1.1
|
|
|
411ed0 |
Release: 6%{?dist}
|
|
|
411ed0 |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
|
|
411ed0 |
License: BSD
|
|
|
411ed0 |
URL: https://pypi.org/project/MarkupSafe/
|
|
|
411ed0 |
Source0: %pypi_source MarkupSafe
|
|
|
411ed0 |
|
|
|
411ed0 |
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
411ed0 |
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
411ed0 |
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
411ed0 |
ExcludeArch: i686
|
|
|
411ed0 |
|
|
|
411ed0 |
BuildRequires: gcc
|
|
|
411ed0 |
|
|
|
411ed0 |
%description
|
|
|
411ed0 |
A library for safe markup escaping.
|
|
|
411ed0 |
|
|
|
411ed0 |
%if %{with python2}
|
|
|
411ed0 |
%package -n python2-markupsafe
|
|
|
411ed0 |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 2
|
|
|
411ed0 |
BuildRequires: python2-devel
|
|
|
411ed0 |
BuildRequires: python2dist(setuptools)
|
|
|
411ed0 |
%{?python_provide:%python_provide python2-markupsafe}
|
|
|
411ed0 |
|
|
|
411ed0 |
%description -n python2-markupsafe
|
|
|
411ed0 |
A library for safe markup escaping. Python 2 version.
|
|
|
411ed0 |
%endif
|
|
|
411ed0 |
|
|
|
411ed0 |
%package -n python%{python3_pkgversion}-markupsafe
|
|
|
411ed0 |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
|
|
411ed0 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
411ed0 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
411ed0 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
411ed0 |
%{?python_provide:%python_provide python%{python3_pkgversion}-markupsafe}
|
|
|
411ed0 |
|
|
|
411ed0 |
%description -n python%{python3_pkgversion}-markupsafe
|
|
|
411ed0 |
A library for safe markup escaping. Python 3 version.
|
|
|
411ed0 |
|
|
|
411ed0 |
|
|
|
411ed0 |
%prep
|
|
|
411ed0 |
%autosetup -n MarkupSafe-%{version}
|
|
|
411ed0 |
|
|
|
411ed0 |
|
|
|
411ed0 |
%build
|
|
|
411ed0 |
%if %{with python2}
|
|
|
411ed0 |
%py2_build
|
|
|
411ed0 |
%endif
|
|
|
411ed0 |
|
|
|
411ed0 |
%py3_build
|
|
|
411ed0 |
|
|
|
411ed0 |
%install
|
|
|
411ed0 |
%if %{with python2}
|
|
|
411ed0 |
%py2_install
|
|
|
411ed0 |
# C code errantly gets installed
|
|
|
411ed0 |
rm %{buildroot}%{python2_sitearch}/markupsafe/*.c
|
|
|
411ed0 |
%endif
|
|
|
411ed0 |
|
|
|
411ed0 |
%py3_install
|
|
|
411ed0 |
# C code errantly gets installed
|
|
|
411ed0 |
rm %{buildroot}%{python3_sitearch}/markupsafe/*.c
|
|
|
411ed0 |
|
|
|
411ed0 |
|
|
|
411ed0 |
%check
|
|
|
411ed0 |
%if %{with python2}
|
|
|
411ed0 |
%{__python2} setup.py test
|
|
|
411ed0 |
%endif
|
|
|
411ed0 |
%{__python3} setup.py test
|
|
|
411ed0 |
|
|
|
411ed0 |
|
|
|
411ed0 |
%if %{with python2}
|
|
|
411ed0 |
%files -n python2-markupsafe
|
|
|
411ed0 |
%license LICENSE.rst
|
|
|
411ed0 |
%doc CHANGES.rst README.rst
|
|
|
411ed0 |
%{python2_sitearch}/MarkupSafe-%{version}-py%{python2_version}.egg-info/
|
|
|
411ed0 |
%{python2_sitearch}/markupsafe/
|
|
|
411ed0 |
%endif
|
|
|
411ed0 |
|
|
|
411ed0 |
%files -n python%{python3_pkgversion}-markupsafe
|
|
|
411ed0 |
%license LICENSE.rst
|
|
|
411ed0 |
%doc CHANGES.rst README.rst
|
|
|
411ed0 |
%{python3_sitearch}/MarkupSafe-%{version}-py%{python3_version}.egg-info/
|
|
|
411ed0 |
%{python3_sitearch}/markupsafe/
|
|
|
411ed0 |
|
|
|
411ed0 |
|
|
|
411ed0 |
%changelog
|
|
|
411ed0 |
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 1.1.1-6
|
|
|
411ed0 |
- Exclude unsupported i686 arch
|
|
|
411ed0 |
|
|
|
411ed0 |
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 1.1.1-5
|
|
|
411ed0 |
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-4
|
|
|
411ed0 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-3
|
|
|
411ed0 |
- Rebuilt for Python 3.8
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-1
|
|
|
411ed0 |
- Update to 1.1.1 (#1680333)
|
|
|
411ed0 |
|
|
|
411ed0 |
* Mon Feb 18 2019 Yatin Karel <ykarel@redhat.com> - 1.1.0-1
|
|
|
411ed0 |
- Update to 1.1.0
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Tue Jul 31 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-1
|
|
|
411ed0 |
- Update to 1.0 (#1430160)
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-19
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 0.23-18
|
|
|
411ed0 |
- Rebuilt for Python 3.7
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-17
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-16
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Jul 28 2017 Troy Dawson <tdawson@redhat.com> - 0.23-15
|
|
|
411ed0 |
- Clean up spec file
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-14
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-13
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.23-12
|
|
|
411ed0 |
- Rebuild for Python 3.6
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Sep 22 2016 Orion Poplawski <orion@cora.nwra.com> - 0.23-11
|
|
|
411ed0 |
- Ship python2-markupsafe
|
|
|
411ed0 |
- Modernize spec
|
|
|
411ed0 |
|
|
|
411ed0 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-10
|
|
|
411ed0 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-9
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Mon Oct 12 2015 Robert Kuska <rkuska@redhat.com> - 0.23-8
|
|
|
411ed0 |
- Rebuilt for Python3.5 rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-7
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-6
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.23-5
|
|
|
411ed0 |
- Replace the python-setuptools-devel BR with python-setuptools
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat May 10 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-3
|
|
|
411ed0 |
- Really rebuild for Python 3.4
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-2
|
|
|
411ed0 |
- Rebuild for Python 3.4
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-1
|
|
|
411ed0 |
- Update to 0.23
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Oct 11 2013 Luke Macken <lmacken@redhat.com> - 0.18-1
|
|
|
411ed0 |
- Update to 0.18 (#678537)
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-7
|
|
|
411ed0 |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-6
|
|
|
411ed0 |
- remove rhel logic from with_python3 conditional
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 0.11-2
|
|
|
411ed0 |
- rebuild for newer python3
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 0.11-1
|
|
|
411ed0 |
- Update to 0.11
|
|
|
411ed0 |
|
|
|
411ed0 |
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.2-5
|
|
|
411ed0 |
- rebuild with python3.2
|
|
|
411ed0 |
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
|
|
|
411ed0 |
|
|
|
411ed0 |
* Fri Jul 23 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.2-4
|
|
|
411ed0 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-3
|
|
|
411ed0 |
- Fix missing setuptools BuildRequires.
|
|
|
411ed0 |
|
|
|
411ed0 |
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-2
|
|
|
411ed0 |
- Fixed sitearch and python3 definitions to work better with older Fedora/RHEL.
|
|
|
411ed0 |
|
|
|
411ed0 |
* Wed Jun 23 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-1
|
|
|
411ed0 |
- Initial version.
|