|
|
c73a0c2 |
Name: python-scales
|
|
|
592e961 |
Version: 1.0.9
|
|
|
f5cab3c |
Release: 19%{?dist}
|
|
|
c73a0c2 |
Summary: Stats for Python processes
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
License: ASL 2.0
|
|
|
c73a0c2 |
URL: https://github.com/Cue/scales
|
|
|
592e961 |
Source0: %{url}/archive/%{version}.tar.gz
|
|
|
c73a0c2 |
|
|
|
592e961 |
# https://github.com/Cue/scales/pull/47
|
|
|
592e961 |
Patch0: fix_py38_compatibility.patch
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
BuildArch: noarch
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
BuildRequires: python3-devel
|
|
|
c73a0c2 |
BuildRequires: python3-six
|
|
|
c73a0c2 |
BuildRequires: python3-simplejson
|
|
|
3aa7690 |
BuildRequires: python3-pytest
|
|
|
68e9195 |
BuildRequires: python3-setuptools
|
|
|
c73a0c2 |
|
|
|
cea0df7 |
%global _description\
|
|
|
cea0df7 |
Tracks server state and statistics, allowing you to see what your server is\
|
|
|
cea0df7 |
doing. It can also send metrics to Graphite for graphing or to a file for crash\
|
|
|
cea0df7 |
forensics.\
|
|
|
cea0df7 |
|
|
|
cea0df7 |
|
|
|
cea0df7 |
%description %_description
|
|
|
cea0df7 |
|
|
|
c73a0c2 |
%package -n python3-scales
|
|
|
c73a0c2 |
Summary: Stats for Python 3 processes
|
|
|
c73a0c2 |
Requires: python3-six
|
|
|
c73a0c2 |
Requires: python3-simplejson
|
|
|
c73a0c2 |
|
|
|
efca5ac |
%description -n python3-scales %_description
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%prep
|
|
|
592e961 |
%setup -q -n scales-%{version}
|
|
|
c73a0c2 |
%patch0 -p1
|
|
|
a654ed1 |
# Python 3.11 compatibility
|
|
|
a654ed1 |
sed -i "s/self.assertEquals/self.assertEqual/g" \
|
|
|
a654ed1 |
src/greplin/scales/scales_test.py \
|
|
|
a654ed1 |
src/greplin/scales/aggregation_test.py \
|
|
|
a654ed1 |
src/greplin/scales/formats_test.py
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%build
|
|
|
c73a0c2 |
%{__python3} setup.py build
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%install
|
|
|
c73a0c2 |
%{__python3} setup.py install --skip-build --root %{buildroot}
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%check
|
|
|
3aa7690 |
%pytest
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%files -n python3-scales
|
|
|
c73a0c2 |
%{python3_sitelib}/greplin/
|
|
|
c73a0c2 |
%{python3_sitelib}/scales*.egg-info
|
|
|
c73a0c2 |
%{python3_sitelib}/scales*.pth
|
|
|
c73a0c2 |
%doc AUTHORS LICENSE README.md
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
%changelog
|
|
|
f5cab3c |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-19
|
|
|
f5cab3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f5cab3c |
|
|
|
312f793 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-18
|
|
|
312f793 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
312f793 |
|
|
|
3aa7690 |
* Mon Sep 04 2023 Charalampos Stratakis <cstratak@redhat.com> - 1.0.9-17
|
|
|
3aa7690 |
- Utilize pytest instead of the deprecated nose test runner
|
|
|
3aa7690 |
- Remove python2 SPEC conditionals
|
|
|
3aa7690 |
|
|
|
b20a3de |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-16
|
|
|
b20a3de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
b20a3de |
|
|
|
bc0fea8 |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.0.9-15
|
|
|
bc0fea8 |
- Rebuilt for Python 3.12
|
|
|
bc0fea8 |
|
|
|
db0ba6c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-14
|
|
|
db0ba6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
db0ba6c |
|
|
|
2aefe25 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-13
|
|
|
2aefe25 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
2aefe25 |
|
|
|
bbdd681 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.9-12
|
|
|
bbdd681 |
- Rebuilt for Python 3.11
|
|
|
bbdd681 |
|
|
|
594c672 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-11
|
|
|
594c672 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
594c672 |
|
|
|
a654ed1 |
* Sat Dec 18 2021 Lumír Balhar <lbalhar@redhat.com> - 1.0.9-10
|
|
|
a654ed1 |
- Fix compatibility with Python 3.11
|
|
|
a654ed1 |
|
|
|
38dba8f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-9
|
|
|
38dba8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
38dba8f |
|
|
|
8c71261 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.9-8
|
|
|
8c71261 |
- Rebuilt for Python 3.10
|
|
|
8c71261 |
|
|
|
2b9b399 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-7
|
|
|
2b9b399 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2b9b399 |
|
|
|
054d428 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-6
|
|
|
054d428 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
054d428 |
|
|
|
8da76c3 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-5
|
|
|
8da76c3 |
- Rebuilt for Python 3.9
|
|
|
8da76c3 |
|
|
|
0cdc809 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-4
|
|
|
0cdc809 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
0cdc809 |
|
|
|
efca5ac |
* Fri Nov 01 2019 Lumír Balhar <lbalhar@redhat.com> - 1.0.9-3
|
|
|
efca5ac |
- Python 2 subpackage disabled for Fedora <32
|
|
|
efca5ac |
|
|
|
7a19d35 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-2
|
|
|
7a19d35 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7a19d35 |
|
|
|
592e961 |
* Fri Aug 30 2019 Lumír Balhar <lbalhar@redhat.com> - 1.0.9-1
|
|
|
592e961 |
- New upstream version 1.0.9
|
|
|
592e961 |
- Fixed compatibility with Python 3.8 (bz#1716527)
|
|
|
592e961 |
|
|
|
5e688bc |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-19
|
|
|
5e688bc |
- Rebuilt for Python 3.8
|
|
|
5e688bc |
|
|
|
e0b5bad |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-18
|
|
|
e0b5bad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e0b5bad |
|
|
|
0629726 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-17
|
|
|
0629726 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0629726 |
|
|
|
e6615e4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-16
|
|
|
e6615e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e6615e4 |
|
|
|
97a54ab |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-15
|
|
|
97a54ab |
- Rebuilt for Python 3.7
|
|
|
97a54ab |
|
|
|
38de0aa |
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.5-14
|
|
|
38de0aa |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
38de0aa |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
38de0aa |
|
|
|
a8d2eb3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-13
|
|
|
a8d2eb3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a8d2eb3 |
|
|
|
6581c90 |
* Tue Oct 31 2017 Troy Dawson <tdawson@redhat.com> - 1.0.5-12
|
|
|
6581c90 |
- Cleanup spec file conditionals
|
|
|
6581c90 |
|
|
|
cea0df7 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.5-11
|
|
|
cea0df7 |
- Python 2 binary package renamed to python2-scales
|
|
|
cea0df7 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
cea0df7 |
|
|
|
5cd3d59 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-10
|
|
|
5cd3d59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5cd3d59 |
|
|
|
0b21c5b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-9
|
|
|
0b21c5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
0b21c5b |
|
|
|
8ef338d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-8
|
|
|
8ef338d |
- Rebuild for Python 3.6
|
|
|
8ef338d |
|
|
|
b2f42c6 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-7
|
|
|
b2f42c6 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
b2f42c6 |
|
|
|
180a336 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-6
|
|
|
180a336 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
180a336 |
|
|
|
7eba91e |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-5
|
|
|
7eba91e |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
7eba91e |
|
|
|
c3ffc1e |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-4
|
|
|
c3ffc1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c3ffc1e |
|
|
|
6fcca13 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
|
|
|
6fcca13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
6fcca13 |
|
|
|
c969a17 |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.5-2
|
|
|
c969a17 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
c969a17 |
|
|
|
c73a0c2 |
* Wed Apr 23 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 1.0.5-1
|
|
|
c73a0c2 |
- Update to 1.0.5
|
|
|
c73a0c2 |
- Add Python 3 support
|
|
|
c73a0c2 |
- Run tests
|
|
|
c73a0c2 |
|
|
|
c73a0c2 |
* Thu Mar 27 2014 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> - 1.0.3-1
|
|
|
c73a0c2 |
- Initial packaging
|