From d8124e47f12de46749b9ec7fc261376a366c0844 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Wed, 12 Apr 2017 13:54:36 +0900 Subject: [PATCH] Bump to python-MarkupSafe 1.0 [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] Bump to python-MarkupSafe 1.0 [Cause & Measure] Bump to python-MarkupSafe 1.0 [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: Ic9169eb02bf8d75eecb0b64e6b5d4750b130c7d9 --- packaging/python-MarkupSafe.manifest | 5 +++ packaging/python-MarkupSafe.spec | 59 ++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 packaging/python-MarkupSafe.manifest create mode 100644 packaging/python-MarkupSafe.spec diff --git a/packaging/python-MarkupSafe.manifest b/packaging/python-MarkupSafe.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python-MarkupSafe.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python-MarkupSafe.spec b/packaging/python-MarkupSafe.spec new file mode 100644 index 0000000..95cb7e4 --- /dev/null +++ b/packaging/python-MarkupSafe.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-MarkupSafe +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: python-MarkupSafe +Version: 1.0 +Release: 0 +Url: http://dev.pocoo.org/ +Summary: Implements a XML/HTML/XHTML Markup safe string for Python +License: BSD-3-Clause +Group: Development/Languages/Python +Source: https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: python-devel +BuildRequires: python-setuptools + +Provides: python-markupsafe = %{version} +Obsoletes: python-markupsafe < %{version} + +%description +Implements a unicode subclass that supports HTML strings. This can be used to +safely encode strings for dynamically generated web pages. + +%prep +%setup -q -n MarkupSafe-%{version} + +%build +cp %{SOURCE1001} . +export CFLAGS="%{optflags}" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%remove_docs + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license LICENSE +%{python_sitelib}/markupsafe/ +%{python_sitelib}/MarkupSafe-%{version}-py*.egg-info + +%changelog + -- 2.34.1