diff --git a/Markups-2.0.1.tar.gz b/Markups-2.0.1.tar.gz deleted file mode 100644 index 08cebd0..0000000 --- a/Markups-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef65593afe187cd1135da1a9c9f6dde2b0ecd2cda4895790628d270e8b0b7030 -size 17002 diff --git a/Markups-3.0.0.tar.gz b/Markups-3.0.0.tar.gz new file mode 100644 index 0000000..2a3bd22 --- /dev/null +++ b/Markups-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ea19458dfca6a4562044e701aa8698089a0c659fc535689ed260f89a04f8d39 +size 16966 diff --git a/python-Markups.changes b/python-Markups.changes index 1073409..0e21b5c 100644 --- a/python-Markups.changes +++ b/python-Markups.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Jan 2 12:46:35 UTC 2019 - badshah400@gmail.com + +- Update to version 3.0.0: + * The deprecated AbstractMarkup API has been removed. + * Python 3.2 is no longer supported. + * The output now uses HTML5 instead of HTML4. + * The custom markups are now registered with entry points. + * The ``get_custom_markups()`` method has been removed. + * New required dependency: python-markdown-math. + * Python-Markdown 3.x release is now supported. +- Add python-markdown-math to Requires (new dependency). +- Run fdupes to clean up duplicate files wasting space (add + BuildRequires: fdupes). + +------------------------------------------------------------------- +Tue Dec 4 12:50:17 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu Aug 31 06:25:00 UTC 2017 - toddrme2178@gmail.com diff --git a/python-Markups.spec b/python-Markups.spec index 4a07e08..a4fa177 100644 --- a/python-Markups.spec +++ b/python-Markups.spec @@ -1,7 +1,7 @@ # # spec file for package python-Markups # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,16 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Markups -Version: 2.0.1 +Version: 3.0.0 Release: 0 Summary: A wrapper around various text markups License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/mitya57/pymarkups +URL: https://github.com/mitya57/pymarkups Source: https://files.pythonhosted.org/packages/source/M/Markups/Markups-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +# SECTION Required for %%check +BuildRequires: %{python_module markdown-math} +# /SECTION +Requires: python-markdown-math BuildArch: noarch %python_subpackages @@ -44,12 +48,14 @@ such as Markdown and reStructuredText (these two are supported by default). %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + %check %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst changelog +%license LICENSE +%doc README.rst changelog %{python_sitelib}/* %changelog