|
|
fd29e7d |
Name: python-resultsdb_api
|
|
|
80d2203 |
# NOTE: if you update version, *make sure* to also update `setup.py`
|
|
|
b5140c9 |
Version: 2.1.1
|
|
|
54b3db9 |
Release: 1%{?dist}
|
|
|
fd29e7d |
Summary: Interface api to ResultsDB
|
|
|
fd29e7d |
|
|
|
fd29e7d |
License: GPLv2+
|
|
|
80d2203 |
URL: https://pagure.io/taskotron/resultsdb_api
|
|
|
80d2203 |
Source0: https://qa.fedoraproject.org/releases/resultsdb_api/resultsdb_api-%{version}.tar.gz
|
|
|
fd29e7d |
|
|
|
fd29e7d |
BuildArch: noarch
|
|
|
fd29e7d |
|
|
|
fd29e7d |
BuildRequires: git
|
|
|
fd29e7d |
BuildRequires: python2-devel
|
|
|
586e2ec |
BuildRequires: python2-pytest-cov
|
|
|
586e2ec |
BuildRequires: python2-setuptools
|
|
|
586e2ec |
BuildRequires: python2-simplejson
|
|
|
dc2691a |
|
|
|
dc2691a |
%if 0%{?fedora}
|
|
|
dc2691a |
BuildRequires: python2-pytest
|
|
|
dc2691a |
BuildRequires: python2-requests
|
|
|
586e2ec |
BuildRequires: python2-virtualenv
|
|
|
dc2691a |
%else
|
|
|
dc2691a |
BuildRequires: pytest
|
|
|
dc2691a |
BuildRequires: python-requests
|
|
|
dc2691a |
BuildRequires: python-virtualenv
|
|
|
dc2691a |
%endif
|
|
|
dc2691a |
|
|
|
b3bcc0d |
%if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?epel} && 0%{?epel} <= 7)
|
|
|
dc2691a |
BuildRequires: python-dingus
|
|
|
dc2691a |
%else
|
|
|
dc2691a |
BuildRequires: python2-dingus
|
|
|
dc2691a |
%endif
|
|
|
fd29e7d |
|
|
|
fd29e7d |
%{?python_provide:%python_provide python-resultsdb_api}
|
|
|
fd29e7d |
|
|
|
39e01b5 |
%global _description\
|
|
|
fd29e7d |
Interface api to ResultsDB
|
|
|
fd29e7d |
|
|
|
39e01b5 |
%description %_description
|
|
|
39e01b5 |
|
|
|
89d4344 |
# ********* Python 2 package **********
|
|
|
89d4344 |
|
|
|
39e01b5 |
%package -n python2-resultsdb_api
|
|
|
39e01b5 |
Summary: %summary
|
|
|
586e2ec |
Requires: python2-simplejson
|
|
|
54b3db9 |
Requires: python2-six
|
|
|
89d4344 |
|
|
|
89d4344 |
%if 0%{?fedora}
|
|
|
89d4344 |
Requires: python2-requests
|
|
|
89d4344 |
%else
|
|
|
89d4344 |
Requires: python-requests
|
|
|
89d4344 |
%endif
|
|
|
89d4344 |
|
|
|
39e01b5 |
%{?python_provide:%python_provide python2-resultsdb_api}
|
|
|
39e01b5 |
|
|
|
39e01b5 |
%description -n python2-resultsdb_api %_description
|
|
|
39e01b5 |
|
|
|
89d4344 |
# *************************************
|
|
|
89d4344 |
|
|
|
fd29e7d |
%prep
|
|
|
fd29e7d |
%setup -q -n resultsdb_api-%{version}
|
|
|
fd29e7d |
|
|
|
fd29e7d |
%check
|
|
|
80d2203 |
## FIXME: fix the test suite
|
|
|
89d4344 |
## https://pagure.io/taskotron/resultsdb_api/issue/1
|
|
|
80d2203 |
# make test
|
|
|
fd29e7d |
|
|
|
fd29e7d |
%build
|
|
|
fd29e7d |
%{__python2} setup.py build
|
|
|
fd29e7d |
|
|
|
fd29e7d |
%install
|
|
|
fd29e7d |
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
fd29e7d |
|
|
|
39e01b5 |
%files -n python2-resultsdb_api
|
|
|
fd29e7d |
%doc README.md
|
|
|
fd29e7d |
%license LICENSE
|
|
|
fd29e7d |
%{python2_sitelib}/resultsdb_api.*
|
|
|
fd29e7d |
%{python2_sitelib}/*.egg-info
|
|
|
fd29e7d |
|
|
|
fd29e7d |
%changelog
|
|
|
b5140c9 |
* Fri Apr 06 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.1.1-1
|
|
|
b5140c9 |
- Fix the python.six interaction with non-string inputs
|
|
|
b5140c9 |
|
|
|
1669b0d |
* Wed Mar 28 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 2.1.0-1
|
|
|
1669b0d |
- Add support for auth token
|
|
|
1669b0d |
- Retry on HTTP 500 errors by default
|
|
|
b5140c9 |
- py3: Updates to work with Python 3
|
|
|
1669b0d |
|
|
|
54b3db9 |
* Mon Feb 19 2018 Steve Milner <smilner@redhat.com> - 2.0.1-1
|
|
|
54b3db9 |
- Added six to support py2/py3 changes in the source.
|
|
|
54b3db9 |
|
|
|
89d4344 |
* Thu Feb 08 2018 Kamil Páral <kparal@redhat.com> - 2.0.0-9
|
|
|
89d4344 |
- fix yet another dependency issue for EPEL
|
|
|
89d4344 |
|
|
|
b3bcc0d |
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.0-8
|
|
|
b3bcc0d |
- Fix condition for EPEL
|
|
|
b3bcc0d |
|
|
|
dc2691a |
* Mon Feb 05 2018 Kamil Páral <kparal@redhat.com> - 2.0.0-7
|
|
|
dc2691a |
- Fix deps for EPEL
|
|
|
dc2691a |
|
|
|
4548954 |
* Fri Feb 02 2018 Kamil Páral <kparal@redhat.com> - 2.0.0-6
|
|
|
4548954 |
- Accomodate deps for F27 and older
|
|
|
4548954 |
|
|
|
586e2ec |
* Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.0-5
|
|
|
586e2ec |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
586e2ec |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
586e2ec |
|
|
|
39e01b5 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-4
|
|
|
39e01b5 |
- Python 2 binary package renamed to python2-resultsdb_api
|
|
|
39e01b5 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
39e01b5 |
|
|
|
a9c2dec |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
|
a9c2dec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a9c2dec |
|
|
|
9c1ad2f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
9c1ad2f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
9c1ad2f |
|
|
|
80d2203 |
* Thu Feb 02 2017 Kamil Páral <kparal@redhat.com> - 2.0.0-1
|
|
|
80d2203 |
- fix like: filter
|
|
|
80d2203 |
- synchronize major version number with resultsdb major number
|
|
|
80d2203 |
- disable the test suite until it is fixed
|
|
|
80d2203 |
|
|
|
7a8bb3f |
* Thu Nov 3 2016 Tim Flink <tflink@fedoraproject.org> - 1.3.0-1
|
|
|
7a8bb3f |
- add support for resultsdb 2.0
|
|
|
ed801c0 |
|
|
|
fd29e7d |
* Wed May 25 2016 Martin Krizek <mkrizek@redhat.com> - 1.2.2-3
|
|
|
fd29e7d |
- remove not needed custom python_sitelib macro
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Tue May 24 2016 Martin Krizek <mkrizek@redhat.com> - 1.2.2-2
|
|
|
fd29e7d |
- rename to python-resultsdb_api (obsolete resultsdb_api)
|
|
|
fd29e7d |
- add python_provide
|
|
|
fd29e7d |
- add LICENSE file
|
|
|
fd29e7d |
- add check
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Wed Jul 8 2015 Martin Krizek <mkrizek@redhat.com> - 1.2.2-1
|
|
|
fd29e7d |
- Remove trailing slashes from url before it's used
|
|
|
fd29e7d |
- Add missing python-simplejson dependency
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Thu Apr 9 2015 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
|
|
|
fd29e7d |
- added option for retrieving job data after update_job (T456)
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Wed Apr 1 2015 Tim Flink <tflink@fedoraproject.org> - 1.2.0-1
|
|
|
fd29e7d |
- added logging capability, logging response errors
|
|
|
fd29e7d |
- added UUID support for execdb integration
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Fri May 16 2014 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
|
|
|
fd29e7d |
- Releasing resultsdb_api 1.1.0
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Fri Apr 25 2014 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
|
|
|
fd29e7d |
- bugfixes from upstream
|
|
|
fd29e7d |
|
|
|
fd29e7d |
* Fri Apr 11 2014 Tim Flink <tflink@fedoraproject.org> - 1.0.1-1
|
|
|
fd29e7d |
- initial packaging
|