15
0

Accepting request 305788 from home:benoit_monin:branches:devel:languages:python

- update to version 0.6.1
- update project URL
- add python-importlib as a dependency for SLE11
- rename README to README.rst: changed upstream

OBS-URL: https://build.opensuse.org/request/show/305788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=4
This commit is contained in:
Denisart Benjamin
2015-05-12 21:28:28 +00:00
committed by Git OBS Bridge
parent 7925cce894
commit 6100571389
4 changed files with 56 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Markups
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@@ -13,19 +13,22 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-Markups
Version: 0.2.4
Version: 0.6.1
Release: 0
License: BSD-3-Clause
Summary: A wrapper around various text markups
Url: http://launchpad.net/python-markups
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/mitya57/pymarkups
Source: http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-importlib
Requires: python-importlib
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
@@ -46,7 +49,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README examples
%doc LICENSE README.rst examples
%{python_sitelib}/*
%changelog