diff --git a/.python-re-assert.metadata b/.python-re-assert.metadata
new file mode 100644
index 0000000..225e958
--- /dev/null
+++ b/.python-re-assert.metadata
@@ -0,0 +1 @@
+79133aaaabc4956781072ea02f4fec4618ed859b  SOURCES/re-assert-1.1.0.tar.gz
diff --git a/SOURCES/0001_adding_pytest_to_the_testing_dependencies.patch b/SOURCES/0001_adding_pytest_to_the_testing_dependencies.patch
new file mode 100644
index 0000000..09d3911
--- /dev/null
+++ b/SOURCES/0001_adding_pytest_to_the_testing_dependencies.patch
@@ -0,0 +1,14 @@
+diff -Naur re-assert-1.1.0.orig/setup.cfg re-assert-1.1.0/setup.cfg
+--- re-assert-1.1.0.orig/setup.cfg	2022-10-13 16:11:49.695696821 +0100
++++ re-assert-1.1.0/setup.cfg	2022-10-13 16:13:32.453753495 +0100
+@@ -23,6 +23,10 @@
+     regex
+ python_requires = >=3.6.1
+ 
++[options.extras_require]
++test = 
++    pytest >= 3
++
+ [bdist_wheel]
+ universal = True
+ 
diff --git a/SPECS/python-re-assert.spec b/SPECS/python-re-assert.spec
new file mode 100644
index 0000000..d7aa078
--- /dev/null
+++ b/SPECS/python-re-assert.spec
@@ -0,0 +1,50 @@
+%global srcname  re-assert
+%global slugname re_assert
+%global forgeurl https://github.com/asottile/re-assert
+
+%global common_description %{expand:
+Show where your regex match assertion failed!}
+
+%bcond_without tests
+
+Name:           python-%{srcname}
+Version:        1.1.0
+%forgemeta
+Release:        %autorelease
+Summary:        Show where your regex match assertion failed!
+URL:            %{forgeurl}
+Source:         %{forgesource}
+Patch:          0001_adding_pytest_to_the_testing_dependencies.patch
+# SPDX
+License:        MIT
+BuildArch:      noarch
+BuildRequires:  python3-devel
+
+%description %{common_description}
+
+%package -n python3-%{srcname}
+Summary: %{summary}
+%description -n python3-%{srcname} %{common_description}
+
+%prep
+%forgeautosetup -p1
+
+%generate_buildrequires
+%pyproject_buildrequires %{?with_tests:-x test}
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files -l %{slugname}
+
+%if %{with tests}
+%check
+%pytest
+%endif
+
+%files -n python3-%{srcname} -f %{pyproject_files}
+
+%changelog
+%autochangelog