|
Kashyap Chamarthy |
29055f3 |
# Python2 macros for EPEL
|
|
Kashyap Chamarthy |
29055f3 |
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
Kashyap Chamarthy |
29055f3 |
%{!?__python2: %global __python2 /usr/bin/python2}
|
|
Kashyap Chamarthy |
29055f3 |
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from %distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
Kashyap Chamarthy |
29055f3 |
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from %distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
Kashyap Chamarthy |
29055f3 |
%endif
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
%global pypi_name gerrit-view
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
Name: python-gerrit-view
|
|
|
b7feccd |
Version: 0.4.6
|
|
|
b798c05 |
Release: 3%{?dist}
|
|
Kashyap Chamarthy |
29055f3 |
Summary: A set of tools to query/view Gerrit patch reviews and their Zuul status
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
License: ASL 2.0
|
|
|
3637792 |
URL: https://pypi.org/project/gerrit-view/
|
|
Kashyap Chamarthy |
29055f3 |
Source0: https://pypi.python.org/packages/source/g/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
BuildArch: noarch
|
|
Kashyap Chamarthy |
29055f3 |
|
|
|
b7feccd |
BuildRequires: python3-setuptools
|
|
|
b7feccd |
BuildRequires: python3-devel
|
|
|
b7feccd |
BuildRequires: python3-urwid
|
|
|
b7feccd |
BuildRequires: python3-requests
|
|
Kashyap Chamarthy |
29055f3 |
|
|
|
4a4b611 |
%global _description\
|
|
|
4a4b611 |
A set of tools to query/view Gerrit patch reviews and their status.\
|
|
|
4a4b611 |
Current set of tools: (1) qgerrit -- to query different projects' Gerrit\
|
|
|
4a4b611 |
reviews based on a set of criteria/filters; (2) cgerrit -- to view (in\
|
|
|
4a4b611 |
real time) Gerrit reviews on CLI; (3) czuul -- to view Gerrit reviews'\
|
|
|
4a4b611 |
Zuul (a pipeline oriented project gating and automation system) status\
|
|
|
4a4b611 |
on CLI.
|
|
|
4a4b611 |
|
|
|
4a4b611 |
%description %_description
|
|
|
4a4b611 |
|
|
|
b7feccd |
%package -n python3-gerrit-view
|
|
|
4a4b611 |
Summary: %summary
|
|
|
b7feccd |
Requires: python3-gerritlib
|
|
|
b7feccd |
Requires: python3-requests
|
|
|
b7feccd |
Requires: python3-six
|
|
|
b7feccd |
Requires: python3-prettytable
|
|
|
b7feccd |
Requires: python3-urwid
|
|
|
b7feccd |
Requires: python3-paramiko
|
|
|
b7feccd |
Requires: python3-GitPython
|
|
|
b7feccd |
%{?python_provide:%python_provide python3-gerrit-view}
|
|
Kashyap Chamarthy |
29055f3 |
|
|
|
b7feccd |
%description -n python3-gerrit-view %_description
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
%prep
|
|
Kashyap Chamarthy |
29055f3 |
%setup -q -n %{pypi_name}-%{version}
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
# Remove bundled egg-info
|
|
Kashyap Chamarthy |
29055f3 |
rm -rf gerrit_view.egg-info
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
%build
|
|
|
b7feccd |
%{__python3} setup.py build
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
%install
|
|
|
b7feccd |
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
Kashyap Chamarthy |
29055f3 |
|
|
|
b7feccd |
%files -n python3-gerrit-view
|
|
Kashyap Chamarthy |
29055f3 |
%doc README.rst
|
|
Kashyap Chamarthy |
29055f3 |
%{_bindir}/*
|
|
|
b7feccd |
%{python3_sitelib}/gerrit_view-%{version}*
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
%changelog
|
|
|
b798c05 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.6-3
|
|
|
b798c05 |
- Rebuilt for Python 3.8
|
|
|
b798c05 |
|
|
|
db79654 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
|
|
db79654 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
db79654 |
|
|
|
37713e3 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-11
|
|
|
37713e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
37713e3 |
|
|
|
46caf7c |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-10
|
|
|
46caf7c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
46caf7c |
|
|
|
3637792 |
* Thu May 31 2018 Kashyap Chamarthy <kchamart@redhat.com>
|
|
|
3637792 |
- Update the URL to correct location (rhbz#1374659)
|
|
|
3637792 |
|
|
|
2ebee50 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.2-9
|
|
|
2ebee50 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
2ebee50 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
2ebee50 |
|
|
|
7fa9213 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-8
|
|
|
7fa9213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7fa9213 |
|
|
|
4a4b611 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.2-7
|
|
|
4a4b611 |
- Python 2 binary package renamed to python2-gerrit-view
|
|
|
4a4b611 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
4a4b611 |
|
|
|
7b74a58 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-6
|
|
|
7b74a58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7b74a58 |
|
|
|
af6fffe |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
|
|
|
af6fffe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
af6fffe |
|
|
|
cbdd3a2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
|
|
|
cbdd3a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cbdd3a2 |
|
|
|
e1db6da |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-3
|
|
|
e1db6da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
e1db6da |
|
|
|
f2361d0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2-2
|
|
|
f2361d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f2361d0 |
|
|
Kashyap Chamarthy |
c57e98e |
* Wed Mar 05 2014 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 0.3.2-1
|
|
Kashyap Chamarthy |
23f77f5 |
- New upstream release - 0.3.2
|
|
Kashyap Chamarthy |
c57e98e |
|
|
Kashyap Chamarthy |
29055f3 |
* Wed Feb 26 2014 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 0.3.0-3
|
|
Kashyap Chamarthy |
29055f3 |
- Remove duplicate entry of python-urwid from Requires
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
* Tue Feb 25 2014 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 0.3.0-2
|
|
Kashyap Chamarthy |
29055f3 |
- Address "File listed twice" warnings
|
|
Kashyap Chamarthy |
29055f3 |
|
|
Kashyap Chamarthy |
29055f3 |
* Tue Feb 25 2014 Kashyap Chamarthy <kashyapc@fedoraproject.org> - 0.3.0-1
|
|
Kashyap Chamarthy |
29055f3 |
- Initial package
|
|
Kashyap Chamarthy |
29055f3 |
|