|
|
8d79c18 |
%if 0%{?fedora} > 32
|
|
|
8d79c18 |
%global prompt_toolkit 3.0.0
|
|
|
8d79c18 |
%else
|
|
|
8d79c18 |
%global prompt_toolkit 2.0.6
|
|
|
8d79c18 |
%endif
|
|
|
8d79c18 |
|
|
|
1c64cce |
%global pypi_name mycli
|
|
|
1c64cce |
|
|
|
07d9430 |
Summary: Interactive CLI for MySQL Database with auto-completion and syntax highlighting
|
|
|
07d9430 |
Name: mycli
|
|
|
bfb6478 |
Version: 1.24.1
|
|
|
ff285e3 |
Release: 4%{?dist}
|
|
|
07d9430 |
License: BSD
|
|
|
1c64cce |
URL: https://mycli.net
|
|
|
1c64cce |
Source0: %{pypi_source}
|
|
|
cfad6a4 |
Patch0: mycli-1.22.1-paramiko.patch
|
|
|
bfb6478 |
Patch1: mycli-1.24.1-reqs.patch
|
|
|
1c64cce |
%if 0%{?fedora} < 33
|
|
|
cfad6a4 |
Patch2: mycli-1.22.1-prompt-toolkit.patch
|
|
|
1c64cce |
%endif
|
|
|
1c64cce |
# https://github.com/dbcli/mycli/commit/4114bcf90d888357e3adc4de108988c606fbb32e.patch
|
|
|
1c64cce |
Patch3: 4114bcf90d888357e3adc4de108988c606fbb32e.patch
|
|
|
07d9430 |
BuildArch: noarch
|
|
|
07d9430 |
BuildRequires: python3-devel
|
|
|
1c64cce |
BuildRequires: pyproject-rpm-macros
|
|
|
1c64cce |
|
|
|
1c64cce |
BuildRequires: python3dist(pytest) >= 2.7.0
|
|
|
1c64cce |
BuildRequires: python3dist(behave) >= 1.2.4
|
|
|
1c64cce |
BuildRequires: python3dist(pexpect) >= 3.3
|
|
|
1c64cce |
BuildRequires: python3dist(paramiko) >= 2.7.2
|
|
|
8ff4f93 |
Suggests: python3-mycli+ssh
|
|
|
1c64cce |
|
|
|
1c64cce |
%py_provides python3-%{pypi_name}
|
|
|
1c64cce |
|
|
|
07d9430 |
%description
|
|
|
07d9430 |
Nice interactive shell for MySQL Database with auto-completion and
|
|
|
07d9430 |
syntax highlighting.
|
|
|
07d9430 |
|
|
|
1c64cce |
%pyproject_extras_subpkg -n python3-%{pypi_name} ssh
|
|
|
1c64cce |
|
|
|
1c64cce |
%generate_buildrequires
|
|
|
1c64cce |
%pyproject_buildrequires -x ssh
|
|
|
1c64cce |
|
|
|
07d9430 |
%prep
|
|
|
1c64cce |
%autosetup -p1
|
|
|
07d9430 |
|
|
|
07d9430 |
%build
|
|
|
1c64cce |
%pyproject_wheel
|
|
|
07d9430 |
|
|
|
07d9430 |
%install
|
|
|
1c64cce |
%pyproject_install
|
|
|
1c64cce |
%pyproject_save_files %{pypi_name}
|
|
|
07d9430 |
|
|
|
3985f64 |
%check
|
|
|
1c64cce |
%pytest
|
|
|
3985f64 |
|
|
|
1c64cce |
%files -f %{pyproject_files}
|
|
|
07d9430 |
%license LICENSE.txt
|
|
|
15ff6e1 |
%doc mycli/AUTHORS README.md mycli/SPONSORS
|
|
|
1c64cce |
%{_bindir}/%{pypi_name}
|
|
|
1c64cce |
%exclude %{python3_sitelib}/test/
|
|
|
07d9430 |
|
|
|
07d9430 |
%changelog
|
|
|
ff285e3 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.1-4
|
|
|
ff285e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ff285e3 |
|
|
|
584a63e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.24.1-3
|
|
|
584a63e |
- Rebuilt for Python 3.10
|
|
|
584a63e |
|
|
|
1c64cce |
* Sat May 8 2021 Dick Marinus <dick@mrns.nl> - 1.24.1-2
|
|
|
1c64cce |
- Use pyproject-rpm-macros to eliminate error-prone manual BR’s
|
|
|
1c64cce |
- Do not manually duplicate automatic Requires
|
|
|
1c64cce |
- Do not use obsolete python_provide macro; use py_provides macro instead
|
|
|
1c64cce |
- Add the Python extras metapackage for the keyring extra
|
|
|
1c64cce |
- Use the pytest macro
|
|
|
1c64cce |
- Switch to HTTPS URL
|
|
|
1c64cce |
|
|
|
bfb6478 |
* Sun Mar 14 2021 Terje Rosten <terje.rosten@ntnu.no> - 1.24.1-1
|
|
|
bfb6478 |
- 1.24.1
|
|
|
bfb6478 |
|
|
|
91c3c31 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.2-2
|
|
|
91c3c31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
91c3c31 |
|
|
|
e2b1d4e |
* Tue Jan 19 2021 Terje Rosten <terje.rosten@ntnu.no> - 1.23.2-1
|
|
|
e2b1d4e |
- 1.23.2
|
|
|
e2b1d4e |
|
|
|
9a8c91f |
* Thu Jan 14 2021 Terje Rosten <terje.rosten@ntnu.no> - 1.23.0-1
|
|
|
9a8c91f |
- 1.23.0
|
|
|
9a8c91f |
- Adjust reqs to more sensible levels
|
|
|
9a8c91f |
|
|
|
8aa70b4 |
* Sun Oct 11 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.22.2-1
|
|
|
8aa70b4 |
- 1.22.2
|
|
|
8aa70b4 |
|
|
|
0f7e7b3 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.22.1-2
|
|
|
0f7e7b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0f7e7b3 |
|
|
|
cfad6a4 |
* Sun Jul 26 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.22.1-1
|
|
|
cfad6a4 |
- 1.22.1
|
|
|
cfad6a4 |
|
|
|
21dfc0b |
* Fri Jul 24 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.1-6
|
|
|
21dfc0b |
- Make srpm to be identical on all branches and fix pymysql 0.10 issue
|
|
|
21dfc0b |
|
|
|
24755f4 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.21.1-5
|
|
|
24755f4 |
- Rebuilt for Python 3.9
|
|
|
24755f4 |
|
|
|
8d79c18 |
* Thu May 07 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.1-4
|
|
|
8d79c18 |
- Use prompt toolkit 3.0.0 on f33+
|
|
|
8d79c18 |
|
|
|
8d79c18 |
* Tue May 05 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.1-3
|
|
|
8d79c18 |
- Use sqlparse 0.3.0 on f32+
|
|
|
8d79c18 |
|
|
|
fd4919d |
* Sun May 03 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.1-2
|
|
|
fd4919d |
- Add patch to find default socket file
|
|
|
fd4919d |
|
|
|
74b9c87 |
* Sun May 03 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.1-1
|
|
|
74b9c87 |
- 1.21.1
|
|
|
74b9c87 |
|
|
|
869dd72 |
* Sun May 03 2020 Terje Rosten <terje.rosten@ntnu.no> - 1.21.0-1
|
|
|
869dd72 |
- 1.21.0
|
|
|
869dd72 |
|
|
|
9a54c19 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.1-3
|
|
|
9a54c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9a54c19 |
|
|
|
1c8f6fb |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.20.1-2
|
|
|
1c8f6fb |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1c8f6fb |
|
|
|
85db523 |
* Sun Aug 25 2019 Terje Rosten <terje.rosten@ntnu.no> - 1.20.1-1
|
|
|
85db523 |
- 1.20.1
|
|
|
85db523 |
|
|
|
f3fe57d |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.20.0-4
|
|
|
f3fe57d |
- Rebuilt for Python 3.8
|
|
|
f3fe57d |
|
|
|
43198d4 |
* Wed Aug 14 2019 Terje Rosten <terje.rosten@ntnu.no> - 1.20.0-3
|
|
|
43198d4 |
- Don't mask failures
|
|
|
43198d4 |
|
|
|
7eb3c70 |
* Wed Aug 14 2019 Terje Rosten <terje.rosten@ntnu.no> - 1.20.0-2
|
|
|
7eb3c70 |
- Add sqlparse 0.2.4 patch from Dick Marinus, thanks!
|
|
|
7eb3c70 |
|
|
|
c54aa5f |
* Tue Aug 13 2019 Terje Rosten <terje.rosten@ntnu.no> - 1.20.0-1
|
|
|
c54aa5f |
- 1.20.0
|
|
|
c54aa5f |
|
|
|
a17ae6f |
* Fri Aug 09 2019 Terje Rosten <terje.rosten@ntnu.no> - 1.19.0-4
|
|
|
a17ae6f |
- Fix build
|
|
|
a17ae6f |
|
|
|
d90df1f |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.0-3
|
|
|
d90df1f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d90df1f |
|
|
|
402e65f |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.0-2
|
|
|
402e65f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
402e65f |
|
|
|
abcadca |
* Mon Nov 19 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.19.0-1
|
|
|
abcadca |
- 1.19.0
|
|
|
abcadca |
|
|
|
9b85a30 |
* Mon Nov 12 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.18.2-2
|
|
|
9b85a30 |
- Fix prompt_toolkit 1 patch, update by Dick
|
|
|
9b85a30 |
|
|
|
1f8a787 |
* Wed Nov 07 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.18.2-1
|
|
|
1f8a787 |
- 1.18.2
|
|
|
1f8a787 |
- Add patch for compat with prompt_toolkit 1, thanks to Dick Marinus
|
|
|
1f8a787 |
- Add patch to work with prompt_toolkit > 2.0.6
|
|
|
1f8a787 |
|
|
|
6273635 |
* Fri Oct 19 2018 Carl George <carl@george.computer> - 1.18.0-2
|
|
|
6273635 |
- Add patch0 for prompt_toolkit 2 compatibility
|
|
|
6273635 |
|
|
|
2e83854 |
* Sun Sep 30 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.18.0-1
|
|
|
2e83854 |
- 1.18.0
|
|
|
2e83854 |
|
|
|
9756155 |
* Sat Jul 14 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.17.0-4
|
|
|
9756155 |
- Tests started to fail again
|
|
|
9756155 |
|
|
|
049edef |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.0-3
|
|
|
049edef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
049edef |
|
|
|
f4bd6c7 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.17.0-2
|
|
|
f4bd6c7 |
- Rebuilt for Python 3.7
|
|
|
f4bd6c7 |
|
|
|
d743cc1 |
* Tue Jun 05 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.17.0-1
|
|
|
d743cc1 |
- 1.17.0
|
|
|
d743cc1 |
|
|
|
be6abba |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-2
|
|
|
be6abba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
be6abba |
|
|
|
b5260be |
* Thu Jan 04 2018 Terje Rosten <terje.rosten@ntnu.no> - 1.16.0-1
|
|
|
b5260be |
- 1.16.0
|
|
|
b5260be |
|
|
|
9f4f618 |
* Sun Oct 01 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.13.1-1
|
|
|
9f4f618 |
- 1.13.1
|
|
|
9f4f618 |
|
|
|
c887015 |
* Sun Sep 24 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.13.0-2
|
|
|
c887015 |
- Skip tests on older releases
|
|
|
c887015 |
|
|
|
3985f64 |
* Sat Sep 23 2017 Dick Marinus <dick@mrns.nl> - 1.13.0-1
|
|
|
3985f64 |
- 1.13.0
|
|
|
3985f64 |
|
|
|
9505f2e |
* Sat Sep 02 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.12.1-2
|
|
|
9505f2e |
- Fix date
|
|
|
9505f2e |
- Remove sedding
|
|
|
9505f2e |
|
|
|
9505f2e |
* Thu Aug 31 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.12.1-1
|
|
|
1ccd5de |
- 1.12.1
|
|
|
1ccd5de |
- Adjust reqs.
|
|
|
1ccd5de |
- Remove all patches
|
|
|
1ccd5de |
|
|
|
0fad4ef |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
|
|
|
0fad4ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0fad4ef |
|
|
|
607993f |
* Sat May 20 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.10.0-2
|
|
|
607993f |
- Add patch from Dick Marinus to fix sqlparse issue
|
|
|
607993f |
|
|
|
3f331d7 |
* Sat May 06 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.10.0-1
|
|
|
3f331d7 |
- 1.10.0
|
|
|
3f331d7 |
|
|
|
8cacf7d |
* Tue Feb 14 2017 Terje Rosten <terje.rosten@ntnu.no> - 1.8.1-4
|
|
|
8cacf7d |
- Add patch to work with sqlparse >= 0.2.2 (rhbz#1422211)
|
|
|
8cacf7d |
|
|
|
b95a88d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
|
|
|
b95a88d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b95a88d |
|
|
|
967a98d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.8.1-2
|
|
|
967a98d |
- Rebuild for Python 3.6
|
|
|
967a98d |
|
|
|
7b5a2d5 |
* Tue Oct 25 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.1-1
|
|
|
7b5a2d5 |
- 1.8.1
|
|
|
7b5a2d5 |
|
|
|
9cd8775 |
* Sat Sep 17 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.0-2
|
|
|
9cd8775 |
- Add patch from Dick Marinus to fix issue with newer sqlparse
|
|
|
9cd8775 |
|
|
|
1be846c |
* Tue Aug 09 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.8.0-1
|
|
|
1be846c |
- 1.8.0
|
|
|
1be846c |
|
|
|
fc3868b |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
|
|
|
fc3868b |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
fc3868b |
|
|
|
15ff6e1 |
* Fri May 13 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.7.0-1
|
|
|
15ff6e1 |
- 1.7.0
|
|
|
15ff6e1 |
|
|
|
3001705 |
* Sun Mar 27 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.6.0-1
|
|
|
3001705 |
- 1.6.0
|
|
|
3001705 |
|
|
|
d81ddf8 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
|
|
d81ddf8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d81ddf8 |
|
|
|
07d9430 |
* Thu Jan 07 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-4
|
|
|
07d9430 |
- Add patch to enable prompt_toolkit 0.57 support.
|
|
|
07d9430 |
|
|
|
07d9430 |
* Thu Jan 07 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-3
|
|
|
07d9430 |
- Remove configobj patch
|
|
|
07d9430 |
- Use name macro
|
|
|
07d9430 |
|
|
|
07d9430 |
* Sun Jan 03 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-2
|
|
|
07d9430 |
- remove egginfo
|
|
|
07d9430 |
- fix deps and summary
|
|
|
07d9430 |
|
|
|
07d9430 |
* Sat Jan 02 2016 Terje Rosten <terje.rosten@ntnu.no> - 1.5.2-1
|
|
|
07d9430 |
- initial package
|
|
|
07d9430 |
|