forked from pool/python-CommonMark
Accepting request 594554 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/594554 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CommonMark?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
8caa34095f
commit
e154ac8fec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-CommonMark
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-CommonMark
|
||||
Version: 0.7.4
|
||||
Version: 0.7.5
|
||||
Release: 0
|
||||
Summary: Python parser for the CommonMark Markdown spec
|
||||
License: BSD-3-Clause
|
||||
@@ -32,7 +32,6 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-future
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Obsoletes: %{oldpython}-commonmark < %{version}
|
||||
@@ -42,7 +41,6 @@ Provides: %{oldpython}-commonmark = %{version}
|
||||
Provides: python3-commonmark = %{version}
|
||||
Obsoletes: python3-commonmark < %{version}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -94,18 +92,18 @@ find CommonMark -name "*.py" | xargs sed -i '1 {/^#!/ d}'
|
||||
# python setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst LICENSE
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/CommonMark/
|
||||
%{python_sitelib}/CommonMark-%{version}-py*.egg-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc spec.txt LICENSE
|
||||
%license LICENSE
|
||||
%doc spec.txt
|
||||
|
||||
%files -n cmark-python
|
||||
%defattr(-,root,root,-)
|
||||
%doc spec.txt LICENSE
|
||||
%license LICENSE
|
||||
%doc spec.txt
|
||||
%{_bindir}/cmark
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user