Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
77d19d3a09 | |||
3e894f9cb9 | |||
c0b77d3348 | |||
2e596fd1fb |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c5a81d97eadf09fc13b29e9d63518802e9f645237e018e1a3059c3f87d9e9d1
|
||||
size 121653
|
BIN
mistletoe-1.4.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
mistletoe-1.4.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 09:35:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 20:46:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.4.0:
|
||||
* Add `parent` attribute/property (#71 via #206).
|
||||
* `MarkdownRenderer`: Keep the original content spacing before
|
||||
the list marker (#213 via #215).
|
||||
* Bump build/CI scripts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 19:39:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mistletoe
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-mistletoe
|
||||
Version: 1.3.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: A Markdown parser in pure Python
|
||||
License: MIT
|
||||
@@ -33,9 +38,14 @@ BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: python-Pygments
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,6 +68,9 @@ find . -type f -print0 | xargs -0 dos2unix --
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative mistletoe
|
||||
|
||||
%post
|
||||
%python_install_alternative mistletoe
|
||||
|
||||
|
Reference in New Issue
Block a user