From 38b8939e9c041a118ccdeb530a1c6ea0db0095b9 Mon Sep 17 00:00:00 2001
From: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Jan 17 2024 21:16:58 +0000
Subject: update


---

diff --git a/.files b/.files
index 03a4b4d..faf3bf8 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index e32aee2..a260bb8 100644
--- a/.rev
+++ b/.rev
@@ -25,4 +25,16 @@
 </comment>
     <requestid>1006630</requestid>
   </revision>
+  <revision rev="4" vrev="1">
+    <srcmd5>2a72b95617ac9f484d23d091faf5dfb0</srcmd5>
+    <version>0.2.2</version>
+    <time>1701727304</time>
+    <user>anag+factory</user>
+    <comment>- update to 0.2.2:
+  * no upstream changelog provided
+- drop remove-sphinx-testing.patch (upstream)
+
+- initial commit</comment>
+    <requestid>1130714</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-sphinx-removed-in.changes b/python-sphinx-removed-in.changes
index ca0b8bb..854ea07 100644
--- a/python-sphinx-removed-in.changes
+++ b/python-sphinx-removed-in.changes
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Mon Dec  4 10:50:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
+
+- update to 0.2.2:
+  * no upstream changelog provided
+- drop remove-sphinx-testing.patch (upstream)
+
+-------------------------------------------------------------------
 Wed Sep 28 10:48:00 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
 
 - Add patch remove-sphinx-testing.patch, to remove the sphinx-testing
@@ -14,4 +21,4 @@ Fri Mar  6 13:24:35 UTC 2020 - pgajdos@suse.com
 -------------------------------------------------------------------
 Fri Mar 29 11:43:53 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
 
-- initial commit 
+- initial commit
diff --git a/python-sphinx-removed-in.spec b/python-sphinx-removed-in.spec
index 04d9cff..ec9f3c9 100644
--- a/python-sphinx-removed-in.spec
+++ b/python-sphinx-removed-in.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sphinx-removed-in
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sphinx-removed-in
-Version:        0.2.1
+Version:        0.2.2
 Release:        0
 Summary:        Sphinx directives versionremoved and removed-in
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/MrSenko/sphinx-removed-in
 Source:         https://github.com/MrSenko/sphinx-removed-in/archive/v%{version}.tar.gz
-# PATCH-FIX-UPSTREAM remove-sphinx-testing.patch -- based on PR
-# gh#mrsenko/sphinx-removed-in#9
-Patch0:         remove-sphinx-testing.patch
 BuildRequires:  %{python_module Sphinx}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -48,7 +45,6 @@ Sphinx Removed In Extension
 
 %install
 %python_install
-%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
diff --git a/remove-sphinx-testing.patch b/remove-sphinx-testing.patch
deleted file mode 100644
index 3a92fbd..0000000
--- a/remove-sphinx-testing.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-Index: sphinx-removed-in-0.2.1/Makefile
-===================================================================
---- sphinx-removed-in-0.2.1.orig/Makefile
-+++ sphinx-removed-in-0.2.1/Makefile
-@@ -1,6 +1,6 @@
- test:
- 	flake8 setup.py sphinx_removed_in tests
--	python -m unittest discover -v
-+	python -m pytest -v
- 
- build: test
- 	./setup.py sdist
-Index: sphinx-removed-in-0.2.1/tests/requirements.txt
-===================================================================
---- sphinx-removed-in-0.2.1.orig/tests/requirements.txt
-+++ sphinx-removed-in-0.2.1/tests/requirements.txt
-@@ -1,4 +1,4 @@
- Sphinx
- flake8
- coverage
--sphinx-testing
-+pytest
-Index: sphinx-removed-in-0.2.1/tests/test_extension.py
-===================================================================
---- sphinx-removed-in-0.2.1.orig/tests/test_extension.py
-+++ sphinx-removed-in-0.2.1/tests/test_extension.py
-@@ -1,22 +1,21 @@
- import os
- import sys
--import unittest
--from sphinx_testing import with_app
-+import pytest
- 
- 
--sys.path.insert(0,
--                os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
-+PARENT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')
-+sys.path.insert(0, PARENT)
- 
- 
--class TestExtension(unittest.TestCase):
--    @with_app(buildername='html', srcdir='./docs', copy_srcdir_to_tmpdir=True)
--    def test_sphinx_build(self, app, status, warning):
--        app.build()
-+@pytest.mark.sphinx(buildername='html', srcdir=os.path.join(PARENT, 'docs'))
-+def test_sphinx_build(app, status, warning):
-+    app.build()
-+    try:
-         html = (app.outdir / 'index.html').read_text()
-+    except AttributeError:
-+        # an older version of sphinx (used e.g. on Python 2)
-+        # use the now deprecated API instead
-+        html = (app.outdir / 'index.html').text()
- 
--        self.assertIn('Removed in version 1.2', html)
--        self.assertIn('Removed in version 3.2', html)
--
--
--if __name__ == "__main__":
--    unittest.main()
-+    assert 'Removed in version 1.2' in html
-+    assert 'Removed in version 3.2' in html
-Index: sphinx-removed-in-0.2.1/tests/conftest.py
-===================================================================
---- /dev/null
-+++ sphinx-removed-in-0.2.1/tests/conftest.py
-@@ -0,0 +1 @@
-+pytest_plugins = 'sphinx.testing.fixtures'
diff --git a/v0.2.1.tar.gz b/v0.2.1.tar.gz
deleted file mode 120000
index a29d58c..0000000
--- a/v0.2.1.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreicbhdhdu3c6nabrjvic4nnnm57pf3a6gjpjmql44l25x3x4bljvya
\ No newline at end of file
diff --git a/v0.2.2.tar.gz b/v0.2.2.tar.gz
new file mode 120000
index 0000000..42f4c4b
--- /dev/null
+++ b/v0.2.2.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreidu7am7rxss3cwqpfedsmwi7r6emwjccpnnki333iqw4kvicfnzuu
\ No newline at end of file