diff --git a/0001-test_no_file.patch b/0001-test_no_file.patch deleted file mode 100644 index e65ba23afe93e4030d085ac8f8bbd3101eb8e6d9..0000000000000000000000000000000000000000 --- a/0001-test_no_file.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0a21e67970593968f48770f12d52e40af110c823 Mon Sep 17 00:00:00 2001 -From: penelope -Date: Sat, 7 May 2022 14:19:53 +0800 -Subject: [PATCH] test_no_file - ---- - tests/test_cli.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/test_cli.py b/tests/test_cli.py -index 7b42724..316e4e1 100644 ---- a/tests/test_cli.py -+++ b/tests/test_cli.py -@@ -54,7 +54,7 @@ class TestConvert(TestCase): - message = buffer.read().decode() - self.assertIn('usage', message) - self.assertIn('underscore-emphasis', message) -- self.assertIn('optional arguments:', message) -+ self.assertRegex(message,r'option(s|al arguments):') - - def test_parse_file(self): - output = parse_from_file(test_md) --- -2.27.0 - diff --git a/m2r-0.1.15.tar.gz b/m2r-0.1.15.tar.gz deleted file mode 100644 index 7eb5b821c61520a924122406c0ec180be5f31887..0000000000000000000000000000000000000000 Binary files a/m2r-0.1.15.tar.gz and /dev/null differ diff --git a/m2r-0.2.1.tar.gz b/m2r-0.2.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..4328def598e9020810731639b604101f0090b3fb Binary files /dev/null and b/m2r-0.2.1.tar.gz differ diff --git a/python-m2r.spec b/python-m2r.spec index 25a10947a17543e43a76a49b357354e43ef2fd68..d916c33f0ff2705f9ff8975677932aec38e1cd0d 100644 --- a/python-m2r.spec +++ b/python-m2r.spec @@ -1,12 +1,11 @@ Name: python-m2r -Version: 0.1.15 -Release: 5 +Version: 0.2.1 +Release: 1 Summary: A converter for markdown to reStructuredText License: MIT URL: https://github.com/miyakogi/m2r Source0: https://github.com/miyakogi/m2r/archive/v%{version}/m2r-%{version}.tar.gz #https://github.com/miyakogi/m2r/pull/62 -Patch0: 0001-test_no_file.patch BuildArch: noarch %description @@ -42,6 +41,9 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test -s tests %exclude %{python3_sitelib}/tests %changelog +* Wed Aug 3 2022 wenzhiwei - 0.2.1-1 +- Update to 0.2.1 + * Sat May 07 2022 yangping - 0.1.15-5 - Fix error caused by options arguments