--- /dev/null
+Name: python3-pytest-repeat
+Version: 0.8.0
+Release: 1
+Summary: pytest-repeat is a plugin for pytest
+License: MPL-2.0
+Group: Development/Languages/Python
+Source: pytest-repeat-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+BuildRequires: pkgconfig(python3)
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+
+BuildArch: noarch
+
+%description
+pytest-repeat is a plugin for pytest that makes it easy to repeat a single test, or multiple tests, a specific number of times.
+
+
+%prep
+%setup -q -n pytest-repeat-%{version}
+
+%build
+cp %{SOURCE1001} .
+%{_bindir}/python3 setup.py build
+
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitelib}/pytest_repeat.py
+%{python3_sitelib}/__pycache__/*.cpython-*.pyc
+%{python3_sitelib}/pytest_repeat-%{version}-py%{python3_version}.egg-info/*