|
|
0b6d665 |
%global srcname requre
|
|
|
84b3cb9 |
|
|
|
0b6d665 |
Name: python-%{srcname}
|
|
Packit Service |
6b27ffa |
Version: 0.4.0
|
|
|
84b3cb9 |
Release: 1%{?dist}
|
|
|
84b3cb9 |
Summary: Python library what allows re/store output of various objects for testing
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
License: MIT
|
|
|
0b6d665 |
URL: https://github.com/packit/requre
|
|
|
84b3cb9 |
Source0: %{pypi_source}
|
|
|
84b3cb9 |
BuildArch: noarch
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
BuildRequires: python3-devel
|
|
|
84b3cb9 |
BuildRequires: python3dist(click)
|
|
|
84b3cb9 |
BuildRequires: python3dist(pytest)
|
|
|
84b3cb9 |
BuildRequires: python3dist(pyyaml)
|
|
|
84b3cb9 |
BuildRequires: python3dist(requests)
|
|
|
84b3cb9 |
BuildRequires: python3dist(setuptools)
|
|
|
84b3cb9 |
BuildRequires: python3dist(setuptools-scm)
|
|
|
84b3cb9 |
BuildRequires: python3dist(setuptools-scm-git-archive)
|
|
|
84b3cb9 |
BuildRequires: python3dist(sphinx)
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
%description
|
|
|
84b3cb9 |
REQUest REcordingRequre [rekure] - Is Library for storing output of various
|
|
|
84b3cb9 |
function and methods to persistent storage and be able to replay the stored
|
|
|
84b3cb9 |
output to functions.
|
|
|
84b3cb9 |
|
|
|
0b6d665 |
%package -n python3-%{srcname}
|
|
|
84b3cb9 |
Summary: %{summary}
|
|
|
84b3cb9 |
|
|
|
0b6d665 |
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides
|
|
|
0b6d665 |
%if 0%{?fedora} < 33
|
|
|
0b6d665 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
0b6d665 |
%endif
|
|
|
0b6d665 |
|
|
|
0b6d665 |
%description -n python3-%{srcname}
|
|
|
84b3cb9 |
REQUest REcordingRequre [rekure] - Is Library for storing output of various
|
|
|
84b3cb9 |
function and methods to persistent storage and be able to replay the stored
|
|
|
84b3cb9 |
output to functions.
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
%prep
|
|
|
0b6d665 |
%autosetup -n %{srcname}-%{version}
|
|
|
0b6d665 |
# Remove bundled egg-info
|
|
|
0b6d665 |
rm -rf %{srcname}.egg-info
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
%build
|
|
|
84b3cb9 |
%py3_build
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
%install
|
|
|
84b3cb9 |
%py3_install
|
|
|
84b3cb9 |
|
|
|
0b6d665 |
%files -n python3-%{srcname}
|
|
|
84b3cb9 |
%license LICENSE
|
|
|
84b3cb9 |
%doc README.md
|
|
|
84b3cb9 |
%{_bindir}/requre-patch
|
|
|
0b6d665 |
%{python3_sitelib}/%{srcname}
|
|
|
0b6d665 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
|
|
84b3cb9 |
|
|
|
84b3cb9 |
%changelog
|
|
|
4f91816 |
* Tue Oct 20 2020 lbarcziova <lbarczio@redhat.com> - 0.4.0-1
|
|
|
4f91816 |
- new upstream release: 0.4.0
|
|
|
4f91816 |
|
|
Packit Service |
6b27ffa |
* Tue Sep 22 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.4.0-1
|
|
Packit Service |
6b27ffa |
- new upstream release: 0.4.0
|
|
Packit Service |
6b27ffa |
|
|
|
0b6d665 |
* Mon Sep 21 2020 Jan Ščotka <jscotka@redhat.com> - 0.3.0-1
|
|
|
0b6d665 |
- new upstream release: 0.3.0
|
|
|
0b6d665 |
|
|
|
84b3cb9 |
* Wed Jan 15 2020 Jan Ščotka <jscotka@redhat.com> - 0.2.0-1
|
|
|
84b3cb9 |
- Initial package.
|