|
rdobuilder |
07cff1 |
# tests need internet connection, see similar case here:
|
|
rdobuilder |
07cff1 |
# https://bugzilla.redhat.com/show_bug.cgi?id=864464#c15
|
|
rdobuilder |
07cff1 |
# To build with tests, run rpmbuild --with tests -ba <spec>
|
|
rdobuilder |
07cff1 |
%bcond_with tests
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%global shortname sqlparse
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
Name: python-%{shortname}
|
|
rdobuilder |
07cff1 |
Version: 0.4.2
|
|
rdobuilder |
07cff1 |
Release: 4%{?dist}
|
|
rdobuilder |
07cff1 |
Summary: Non-validating SQL parser for Python
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
License: BSD
|
|
rdobuilder |
07cff1 |
URL: https://github.com/andialbrecht/%{shortname}
|
|
rdobuilder |
07cff1 |
Source0: https://github.com/andialbrecht/%{shortname}/archive/%{version}/%{shortname}-%{version}.tar.gz
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
BuildArch: noarch
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-tools
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-py
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%if %{with tests}
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
rdobuilder |
07cff1 |
BuildRequires: python%{python3_pkgversion}-pytest-cov
|
|
rdobuilder |
07cff1 |
%endif # with_tests
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%global _description\
|
|
rdobuilder |
07cff1 |
sqlparse is a tool for parsing SQL strings. It can generate pretty-printed\
|
|
rdobuilder |
07cff1 |
renderings of SQL in various formats.\
|
|
rdobuilder |
07cff1 |
\
|
|
rdobuilder |
07cff1 |
It is a python module, together with a command-line tool.
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%description %_description
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%package -n python%{python3_pkgversion}-%{shortname}
|
|
rdobuilder |
07cff1 |
Summary: Non-validating SQL parser for Python
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%description -n python%{python3_pkgversion}-%{shortname}
|
|
rdobuilder |
07cff1 |
sqlparse is a tool for parsing SQL strings. It can generate pretty-printed
|
|
rdobuilder |
07cff1 |
renderings of SQL in various formats.
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
It is a python module, together with a command-line tool.
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%prep
|
|
rdobuilder |
07cff1 |
%setup -q -n %{shortname}-%{version}
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%build
|
|
rdobuilder |
07cff1 |
%{__python3} setup.py build
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%install
|
|
rdobuilder |
07cff1 |
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%if %{with tests}
|
|
rdobuilder |
07cff1 |
%check
|
|
rdobuilder |
07cff1 |
tox -e py%{python3_version_nodots}
|
|
rdobuilder |
07cff1 |
%endif # with_tests
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%files -n python%{python3_pkgversion}-%{shortname}
|
|
rdobuilder |
07cff1 |
%license LICENSE
|
|
rdobuilder |
07cff1 |
%doc AUTHORS CHANGELOG README.rst
|
|
rdobuilder |
07cff1 |
%{python3_sitelib}/*
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%{_bindir}/sqlformat
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
%changelog
|
|
rdobuilder |
07cff1 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-4
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.2-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Dec 17 2021 Honza Horak <hhorak@redhat.com> - 0.4.2-1
|
|
rdobuilder |
07cff1 |
- Update to 0.4.2
|
|
rdobuilder |
07cff1 |
Also fixes CVE-2021-32839
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 0.4.1-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jan 29 2021 Joel Capitao <jcapitao@redhat.com> - 0.4.1-1
|
|
rdobuilder |
07cff1 |
- Update to 0.4.1 (#1886093)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Mar 01 2020 Terje Rosten <terje.rosten@ntnu.no> - 0.3.1-1
|
|
rdobuilder |
07cff1 |
- Update to 0.3.1
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-10
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-9
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-8
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Mar 18 2019 Marc Dequènes (Duck) <duck@redhat.com> - 0.2.4-6
|
|
rdobuilder |
07cff1 |
- Adaptations to build Python 3 on EPEL
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-4
|
|
rdobuilder |
07cff1 |
- Subpackage python2-sqlparse has been removed
|
|
rdobuilder |
07cff1 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.4-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Apr 15 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.2.4-1
|
|
rdobuilder |
07cff1 |
- new version
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.2.2-6
|
|
rdobuilder |
07cff1 |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
07cff1 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.2-4
|
|
rdobuilder |
07cff1 |
- Python 2 binary package renamed to python2-sqlparse
|
|
rdobuilder |
07cff1 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Jan 23 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.2.2-1
|
|
rdobuilder |
07cff1 |
- Uodate to 0.2.2
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.2.1-2
|
|
rdobuilder |
07cff1 |
- Rebuild for Python 3.6
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Aug 27 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.2.1-1
|
|
rdobuilder |
07cff1 |
- Uodate to 0.2.1
|
|
rdobuilder |
07cff1 |
- Simplify a little bit the SPEC
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Jul 31 2016 Honza Horak <hhorak@redhat.com> - 0.2-1
|
|
rdobuilder |
07cff1 |
- Update to 0.2 (rhbx#1360756)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jul 08 2016 Honza Horak <hhorak@redhat.com> - 0.1.19-1
|
|
rdobuilder |
07cff1 |
- Update to 0.1.19 (#1315292)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Nov 12 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.18-4
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Nov 5 2015 Toshio Kuratomi <toshio@fedoraproject.org> - 0.1.18-3
|
|
rdobuilder |
07cff1 |
- Do not include the sqlformat script in the python-sqlparse package, only in
|
|
rdobuilder |
07cff1 |
the python3-sqlparse package. This will fix the script not working if the
|
|
rdobuilder |
07cff1 |
python2-sqlparse package is installed but not python3-sqlparse and it will
|
|
rdobuilder |
07cff1 |
keep the python2-sqlparse package from depending on python3.
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 0.1.18-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for Python3.5 rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Oct 25 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.1.18-1
|
|
rdobuilder |
07cff1 |
- Update to 0.1.18 (#1275044)
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Sep 18 2015 Honza Horak <None> - 0.1.16-1
|
|
rdobuilder |
07cff1 |
- New upstream release 0.1.16
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.11-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.11-4
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.11-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon May 12 2014 Honza Horak <hhorak@redhat.com> - 0.1.11-2
|
|
rdobuilder |
07cff1 |
- Add python3 package
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Mon May 12 2014 Honza Horak <hhorak@redhat.com> - 0.1.11-1
|
|
rdobuilder |
07cff1 |
- Rebase to 0.1.11
|
|
rdobuilder |
07cff1 |
- Change the upstream URL
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jun 3 2011 David Malcolm <dmalcolm@redhat.com> - 0.1.2-1
|
|
rdobuilder |
07cff1 |
- 0.1.2
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-7
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.1-6
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-5
|
|
rdobuilder |
07cff1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Wed Jun 10 2009 David Malcolm <dmalcolm@redhat.com> - 0.1.1-4
|
|
rdobuilder |
07cff1 |
- bump release to enable build
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jun 5 2009 David Malcolm <dmalcolm@redhat.com> - 0.1.1-3
|
|
rdobuilder |
07cff1 |
- run the tests in the "check" section
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Fri Jun 5 2009 David Malcolm <dmalcolm@redhat.com> - 0.1.1-2
|
|
rdobuilder |
07cff1 |
- run the selftests during the "build" phase
|
|
rdobuilder |
07cff1 |
|
|
rdobuilder |
07cff1 |
* Thu May 14 2009 David Malcolm <dmalcolm@redhat.com> - 0.1.1-1
|
|
rdobuilder |
07cff1 |
- initial packaging
|
|
rdobuilder |
07cff1 |
|