[python26-markupsafe/el5/master] Import rhbz#668591

stevetraylen stevetraylen at fedoraproject.org
Wed Jan 26 21:46:18 UTC 2011


commit 9fba7bd3aae84869a1ebf14685be4867737d6b0c
Author: Steve Traylen <steve.traylen at cern.ch>
Date:   Wed Jan 26 22:44:47 2011 +0100

    Import rhbz#668591

 .gitignore               |    1 +
 python26-markupsafe.spec |   76 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..65099c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MarkupSafe-0.11.tar.gz
diff --git a/python26-markupsafe.spec b/python26-markupsafe.spec
new file mode 100644
index 0000000..18f33d7
--- /dev/null
+++ b/python26-markupsafe.spec
@@ -0,0 +1,76 @@
+%global __python26 /usr/bin/python2.6
+%global python26_sitearch %{_libdir}/python2.6/site-packages
+%global __os_install_post %{__python26_os_install_post}
+
+Name: python26-markupsafe
+Version: 0.11
+Release: 3%{?dist}
+Summary: Implements a XML/HTML/XHTML Markup safe string for Python
+
+Group: Development/Languages
+License: BSD
+URL: http://pypi.python.org/pypi/MarkupSafe
+Source0: http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: python26-devel python26-distribute
+
+Requires: python(abi) = 2.6
+
+%description
+A library for safe markup escaping.
+
+%prep
+%setup -q -n MarkupSafe-%{version}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python26} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python26} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+# C code errantly gets installed
+rm $RPM_BUILD_ROOT/%{python26_sitearch}/markupsafe/*.c
+# Corecct permissons on one file.
+chmod 755 $RPM_BUILD_ROOT/%{python26_sitearch}/markupsafe/_speedups.so
+
+%check
+%{__python26} setup.py test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS LICENSE README.rst
+%{python26_sitearch}/markupsafe/
+%{python26_sitearch}/MarkupSafe-%{version}-py2.6.egg-info/
+
+%changelog
+* Tue Jan 11 2011 Steve Traylen <steve.traylen at cern.ch> - 0.11-3
+- Do not hardcode lib64 path, be more particular about
+  files that are include. rhbz#668591
+
+* Mon Dec 13 2010 Steve Traylen <steve.traylen at cern.ch> - 0.11-2
+- Adapt F15 .spec file for python26 EPEL5 package.
+
+* Thu Sep 30 2010 Luke Macken <lmacken at redhat.com> - 0.11-1
+- Update to 0.11
+
+* Wed Aug 25 2010 Thomas Spura <tomspur at fedoraproject.org> - 0.9.2-5
+- rebuild with python3.2
+  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
+
+* Fri Jul 23 2010 David Malcolm <dmalcolm at redhat.com> - 0.9.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Thu Jun 24 2010 Kyle VanderBeek <kylev at kylev.com> - 0.9.2-3
+- Fix missing setuptools BuildRequires.
+
+* Thu Jun 24 2010 Kyle VanderBeek <kylev at kylev.com> - 0.9.2-2
+- Fixed sitearch and python3 definitions to work better with older Fedora/RHEL.
+
+* Wed Jun 23 2010 Kyle VanderBeek <kylev at kylev.com> - 0.9.2-1
+- Initial version.
diff --git a/sources b/sources
index e69de29..764b4cd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+48d445941c16d6aa55caf8e148fc0911  MarkupSafe-0.11.tar.gz


More information about the scm-commits mailing list