Blame SPECS/python-markupsafe.spec

97a994
%{?scl:%scl_package python-markupsafe}
97a994
%{!?scl:%global pkg_name %{name}}
97a994
97a994
Name: %{?scl_prefix}python-markupsafe
97a994
Version: 0.11
a0ac68
Release: 12%{?dist}
97a994
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
97a994
97a994
Group: Development/Languages
97a994
License: BSD
97a994
URL: http://pypi.python.org/pypi/MarkupSafe
97a994
Source0: http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
97a994
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
97a994
97a994
BuildRequires: %{?scl_prefix}python-devel
97a994
BuildRequires: %{?scl_prefix}python-setuptools
97a994
97a994
%description
97a994
A library for safe markup escaping.
97a994
97a994
%prep
97a994
%setup -q -n MarkupSafe-%{version}
97a994
97a994
%build
97a994
%{?scl:scl enable %{scl} - << \EOF}
97a994
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
97a994
%{?scl:EOF}
97a994
97a994
%install
97a994
rm -rf $RPM_BUILD_ROOT
97a994
%{?scl:scl enable %{scl} "}
97a994
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
97a994
%{?scl:"}
97a994
# C code errantly gets installed
97a994
rm $RPM_BUILD_ROOT/%{python_sitearch}/markupsafe/*.c
97a994
97a994
%check
97a994
%{?scl:scl enable %{scl} "}
97a994
%{__python} setup.py test
97a994
%{?scl:"}
97a994
97a994
%clean
97a994
rm -rf $RPM_BUILD_ROOT
97a994
97a994
%files
97a994
%defattr(-,root,root,-)
97a994
%doc AUTHORS LICENSE README.rst
97a994
%{python_sitearch}/*
97a994
97a994
%changelog
a0ac68
* Thu May 24 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.11-12
a0ac68
- Rebuild for multi-arch bootstrap
a0ac68
97a994
* Tue May 07 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.11-11
97a994
- Rebuild to generate bytecode properly after fixing rhbz#956289
97a994
97a994
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.11-10
97a994
- Bump again to build properly on ppc64
97a994
97a994
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.11-9
97a994
- Rebuilt for PPC.
97a994
97a994
* Wed Sep 19 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.11-8
97a994
- Rebuilt for SCL.
97a994
97a994
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-7
97a994
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
97a994
97a994
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-6
97a994
- remove rhel logic from with_python3 conditional
97a994
97a994
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
97a994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
97a994
97a994
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
97a994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
97a994
97a994
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
97a994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
97a994
97a994
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 0.11-2
97a994
- rebuild for newer python3
97a994
97a994
* Thu Sep 30 2010 Luke Macken <lmacken@redhat.com> - 0.11-1
97a994
- Update to 0.11
97a994
97a994
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.2-5
97a994
- rebuild with python3.2
97a994
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
97a994
97a994
* Fri Jul 23 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.2-4
97a994
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
97a994
97a994
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-3
97a994
- Fix missing setuptools BuildRequires.
97a994
97a994
* Thu Jun 24 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-2
97a994
- Fixed sitearch and python3 definitions to work better with older Fedora/RHEL.
97a994
97a994
* Wed Jun 23 2010 Kyle VanderBeek <kylev@kylev.com> - 0.9.2-1
97a994
- Initial version.