- update source url
- fix obs/prov to refer to old python - drop _speedups.c from installed directory OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=23
This commit is contained in:
parent
0cbdca616a
commit
ba48056a37
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 15:13:20 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- update source url
|
||||
- fix obs/prov to refer to old python
|
||||
- drop _speedups.c from installed directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 22 15:11:29 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-MarkupSafe
|
||||
Version: 1.0
|
||||
@ -24,14 +25,14 @@ 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
|
||||
Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
Provides: python-markupsafe = %{version}
|
||||
Obsoletes: python-markupsafe < %{version}
|
||||
Provides: %{oldpython}-markupsafe = %{version}
|
||||
Obsoletes: %{oldpython}-markupsafe < %{version}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
@ -49,6 +50,7 @@ export CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
Loading…
x
Reference in New Issue
Block a user