- Add build/runtime dependency over setuptools wrt bsc#1079287

- Remove python-devel dependency which is not really needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal 2018-03-19 11:33:54 +00:00 committed by Git OBS Bridge
parent 6545b7cd7d
commit e0e5445fe7
2 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 19 11:32:36 UTC 2018 - tchvatal@suse.com
- Add build/runtime dependency over setuptools wrt bsc#1079287
- Remove python-devel dependency which is not really needed
-------------------------------------------------------------------
Fri Jan 5 21:47:29 UTC 2018 - benoit.monin@gmx.fr

View File

@ -27,29 +27,28 @@ Group: Development/Languages/Python
Url: http://packages.python.org/Markdown/
Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython2
# older python2 version provided the package in lowercase
Provides: %{oldpython}-markdown = %{version}
Obsoletes: %{oldpython}-markdown < %{version}
%endif
%python_subpackages
%description
This is a Python implementation of John Gruber's [Markdown][].
This is a Python implementation of John Gruber's [Markdown][].
It is almost completely compliant with the reference implementation,
though there are a few known issues. See [Features][] for information
on what exactly is supported and what is not. Additional features are
though there are a few known issues. See [Features][] for information
on what exactly is supported and what is not. Additional features are
supported by the [Available Extensions][].
%prep
@ -74,8 +73,8 @@ supported by the [Available Extensions][].
%python_uninstall_alternative markdown_py
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.md README.md docs/*
%license LICENSE.md
%doc README.md docs/*
%python_alternative %{_bindir}/markdown_py
%{python_sitelib}/Markdown-%{version}-py%{python_version}.egg-info
%{python_sitelib}/markdown