diff --git a/Markdown-3.3.6.tar.gz b/Markdown-3.3.6.tar.gz deleted file mode 100644 index 1b7dee9..0000000 --- a/Markdown-3.3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006 -size 323584 diff --git a/Markdown-3.3.7.tar.gz b/Markdown-3.3.7.tar.gz new file mode 100644 index 0000000..eca1192 --- /dev/null +++ b/Markdown-3.3.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874 +size 324130 diff --git a/python-Markdown.changes b/python-Markdown.changes index 694d39d..716ab13 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu May 5 21:23:17 UTC 2022 - Matej Cepl + +- Clean up the SPEC file. + +------------------------------------------------------------------- +Thu May 5 20:08:38 UTC 2022 - Benoît Monin + +- update to version 3.3.7: bug-fix release + * Disallow square brackets in reference link ids (#1209) + * Retain configured pygments_style after first code block (#1240) + * Ensure fenced code attributes are properly escaped (#1247) + ------------------------------------------------------------------- Wed Nov 24 21:21:34 UTC 2021 - Dirk Müller diff --git a/python-Markdown.spec b/python-Markdown.spec index 5f37ed7..ed683f6 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -1,7 +1,7 @@ # # spec file for package python-Markdown # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Markdown -Version: 3.3.6 +Version: 3.3.7 Release: 0 Summary: Python implementation of Markdown License: BSD-3-Clause @@ -30,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdo Patch0: markdown-3.0-python37.patch BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module importlib-metadata >= 4.4} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,20 +51,19 @@ on what exactly is supported and what is not. Additional features are supported by the [Available Extensions][]. %prep -%setup -q -n Markdown-%{version} -%autopatch -p1 +%autosetup -p1 -n Markdown-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/markdown_py %check -%python_exec -m unittest discover +%pyunittest discover -v %post %python_install_alternative markdown_py @@ -74,7 +75,7 @@ supported by the [Available Extensions][]. %license LICENSE.md %doc README.md docs/* %python_alternative %{_bindir}/markdown_py -%{python_sitelib}/Markdown-%{version}-py%{python_version}.egg-info +%{python_sitelib}/Markdown-%{version}*-info %{python_sitelib}/markdown %changelog