diff --git a/python-Markdown.changes b/python-Markdown.changes index d150917..ce0d69e 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -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 diff --git a/python-Markdown.spec b/python-Markdown.spec index 75250f0..ecf327d 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -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