|
|
645afe |
%bcond_without python3
|
|
|
645afe |
%global debug_package %{nil}
|
|
|
645afe |
|
|
|
645afe |
Name: python-markupsafe
|
|
|
645afe |
Version: 0.23
|
|
|
645afe |
Release: 19%{?dist}
|
|
|
645afe |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
|
|
645afe |
|
|
|
645afe |
Group: Development/Languages
|
|
|
645afe |
License: BSD
|
|
|
645afe |
URL: http://pypi.python.org/pypi/MarkupSafe
|
|
|
645afe |
Source0: http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
|
|
645afe |
|
|
|
645afe |
BuildRequires: python2-devel python2-setuptools
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
BuildRequires: python3-devel python3-setuptools
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
%description
|
|
|
645afe |
A library for safe markup escaping.
|
|
|
645afe |
|
|
|
645afe |
%package -n python2-markupsafe
|
|
|
645afe |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 2
|
|
|
645afe |
Group: Development/Languages
|
|
|
645afe |
%{?python_provide:%python_provide python2-markupsafe}
|
|
|
645afe |
|
|
|
645afe |
%description -n python2-markupsafe
|
|
|
645afe |
A library for safe markup escaping.
|
|
|
645afe |
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
%package -n python3-markupsafe
|
|
|
645afe |
Summary: Implements a XML/HTML/XHTML Markup safe string for Python 3
|
|
|
645afe |
Group: Development/Languages
|
|
|
645afe |
%{?python_provide:%python_provide python3-markupsafe}
|
|
|
645afe |
|
|
|
645afe |
%description -n python3-markupsafe
|
|
|
645afe |
A library for safe markup escaping.
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
%prep
|
|
|
645afe |
%setup -q -n MarkupSafe-%{version}
|
|
|
645afe |
|
|
|
645afe |
%build
|
|
|
645afe |
%py2_build
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
%py3_build
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
%install
|
|
|
645afe |
%py2_install
|
|
|
645afe |
# C code errantly gets installed
|
|
|
645afe |
rm $RPM_BUILD_ROOT/%{python2_sitearch}/markupsafe/*.c
|
|
|
645afe |
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
%py3_install
|
|
|
645afe |
# C code errantly gets installed
|
|
|
645afe |
rm $RPM_BUILD_ROOT/%{python3_sitearch}/markupsafe/*.c
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
|
|
|
645afe |
%check
|
|
|
645afe |
%{__python2} setup.py test
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
%{__python3} setup.py test
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
|
|
|
645afe |
%files -n python2-markupsafe
|
|
|
645afe |
%license LICENSE
|
|
|
645afe |
%doc AUTHORS README.rst
|
|
|
645afe |
%{python2_sitearch}/*
|
|
|
645afe |
|
|
|
645afe |
%if %{with python3}
|
|
|
645afe |
%files -n python3-markupsafe
|
|
|
645afe |
%doc AUTHORS LICENSE README.rst
|
|
|
645afe |
%{python3_sitearch}/*
|
|
|
645afe |
%endif
|
|
|
645afe |
|
|
|
645afe |
%changelog
|
|
|
645afe |
* Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 0.23-19
|
|
|
645afe |
- Bumping due to problems with modular RPM upgrade path
|
|
|
645afe |
- Resolves: rhbz#1695587
|
|
|
645afe |
|
|
|
645afe |
* Tue Jul 31 2018 LumÃr Balhar <lbalhar@redhat.com> - 0.23-18
|
|
|
645afe |
- Make possible to disable python3 subpackage
|
|
|
645afe |
- Disable debugsource package
|
|
|
645afe |
|
|
|
645afe |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-17
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-16
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Fri Jul 28 2017 Troy Dawson <tdawson@redhat.com> - 0.23-15
|
|
|
645afe |
- Clean up spec file
|
|
|
645afe |
|
|
|
645afe |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-14
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-13
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.23-12
|
|
|
645afe |
- Rebuild for Python 3.6
|
|
|
645afe |
|
|
|
645afe |
* Thu Sep 22 2016 Orion Poplawski <orion@cora.nwra.com> - 0.23-11
|
|
|
645afe |
- Ship python2-markupsafe
|
|
|
645afe |
- Modernize spec
|
|
|
645afe |
|
|
|
645afe |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-10
|
|
|
645afe |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
645afe |
|
|
|
645afe |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-9
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Mon Oct 12 2015 Robert Kuska <rkuska@redhat.com> - 0.23-8
|
|
|
645afe |
- Rebuilt for Python3.5 rebuild
|
|
|
645afe |
|
|
|
645afe |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-7
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-6
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.23-5
|
|
|
645afe |
- Replace the python-setuptools-devel BR with python-setuptools
|
|
|
645afe |
|
|
|
645afe |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Sat May 10 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-3
|
|
|
645afe |
- Really rebuild for Python 3.4
|
|
|
645afe |
|
|
|
645afe |
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-2
|
|
|
645afe |
- Rebuild for Python 3.4
|
|
|
645afe |
|
|
|
645afe |
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 0.23-1
|
|
|
645afe |
- Update to 0.23
|
|
|
645afe |
|
|
|
645afe |
* Fri Oct 11 2013 Luke Macken <lmacken@redhat.com> - 0.18-1
|
|
|
645afe |
- Update to 0.18 (#678537)
|
|
|
645afe |
|
|
|
645afe |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-7
|
|
|
645afe |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
645afe |
|
|
|
645afe |
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-6
|
|
|
645afe |
- remove rhel logic from with_python3 conditional
|
|
|
645afe |
|
|
|
645afe |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
645afe |
|
|
|
645afe |
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 0.11-2
|
|
|
645afe |
- rebuild for newer python3
|
|
|
645afe |
|
|
|
645afe |
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 0.11-1
|
|
|
645afe |
- Update to 0.11
|
|
|
645afe |
|
|
|
645afe |
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.2-5
|
|
|
645afe |
- rebuild with python3.2
|
|
|
645afe |
http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
|
|
|
645afe |
|
|
|
645afe |
* Fri Jul 23 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.2-4
|
|
|
645afe |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
645afe |
|
|
|
645afe |
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-3
|
|
|
645afe |
- Fix missing setuptools BuildRequires.
|
|
|
645afe |
|
|
|
645afe |
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-2
|
|
|
645afe |
- Fixed sitearch and python3 definitions to work better with older Fedora/RHEL.
|
|
|
645afe |
|
|
|
645afe |
* Wed Jun 23 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-1
|
|
|
645afe |
- Initial version.
|