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