- 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:
parent
6545b7cd7d
commit
e0e5445fe7
@ -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
|
||||||
|
|
||||||
|
@ -27,22 +27,21 @@ 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
|
||||||
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user