diff --git a/.gitignore b/.gitignore index 41d1a67..a66ff91 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/myst-parser-4.0.0.tar.gz +SOURCES/myst-parser-3.0.1.tar.gz diff --git a/.python-myst-parser.metadata b/.python-myst-parser.metadata index 639f712..158ee94 100644 --- a/.python-myst-parser.metadata +++ b/.python-myst-parser.metadata @@ -1 +1 @@ -984cb236277bbcfc1afacb110d6b73fcb71e577f SOURCES/myst-parser-4.0.0.tar.gz +8a9e1af0d224eb119708a3784833602defaae52a SOURCES/myst-parser-3.0.1.tar.gz diff --git a/SOURCES/973.patch b/SOURCES/973.patch deleted file mode 100644 index 898a689..0000000 --- a/SOURCES/973.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f8d1abd46ed99261f3fc9c727498132e938c1c5a Mon Sep 17 00:00:00 2001 -From: Chris Sewell -Date: Tue, 10 Sep 2024 04:31:46 +0200 -Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20fix=20test?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - ---- - tests/test_renderers/fixtures/amsmath.md | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_renderers/fixtures/amsmath.md b/tests/test_renderers/fixtures/amsmath.md -index fe3713ea..34d7f064 100644 ---- a/tests/test_renderers/fixtures/amsmath.md -+++ b/tests/test_renderers/fixtures/amsmath.md -@@ -47,6 +47,6 @@ In list: - - - \begin{equation} -- a = 1 -- \end{equation} -+ a = 1 -+ \end{equation} - . diff --git a/SPECS/python-myst-parser.spec b/SPECS/python-myst-parser.spec index 03cc989..cf9173e 100644 --- a/SPECS/python-myst-parser.spec +++ b/SPECS/python-myst-parser.spec @@ -1,18 +1,8 @@ -## START: Set by rpmautospec -## (rpmautospec version 0.7.3) -## RPMAUTOSPEC: autorelease, autochangelog -%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 2; - base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); - print(release_number + base_release_number - 1); -}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} -## END: Set by rpmautospec - %global pypi_name myst-parser Name: python-%{pypi_name} -Version: 4.0.0 -Release: %autorelease +Version: 3.0.1 +Release: 2%{?dist} Summary: A commonmark compliant parser, with bridges to docutils & sphinx # SPDX @@ -20,9 +10,6 @@ License: MIT URL: https://github.com/executablebooks/MyST-Parser Source0: %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz -# Fix the expected test output -Patch: https://github.com/executablebooks/MyST-Parser/pull/973.patch - BuildArch: noarch BuildRequires: python3-devel @@ -36,7 +23,6 @@ BuildRequires: python3-pytest-regressions BuildRequires: python3-pytest-param-files BuildRequires: python3-sphinx-pytest BuildRequires: python3-linkify-it-py -BuildRequires: python3-soupsieve %global _description %{expand: @@ -70,6 +56,9 @@ Summary: %{summary} %pyproject_install %pyproject_save_files myst_parser +%check +%pytest + %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md @@ -83,16 +72,9 @@ Summary: %{summary} %{_bindir}/myst-inv %changelog -* Sat Jan 04 2025 Arkady L. Shane - 4.0.0-2 +* Sat Jan 04 2025 Arkady L. Shane - 3.0.1-2 - Rebuilt for MSVSphere 10 -## START: Generated by rpmautospec -* Thu Dec 19 2024 Kaleb S. KEITHLEY - 3.0.1-3 -- epel10 -- add BR for python-soupsieve to eliminate an error -- temp remove %check due to 11 new failing tests. To be restored at some - future date - * Fri Jul 19 2024 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild @@ -188,5 +170,3 @@ Resolves: rhbz#1971209 * Fri May 14 2021 Karolina Surma - 0.14.0-1 - Initial package. - -## END: Generated by rpmautospec