-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpython2-perftracker-lib.spec
More file actions
57 lines (47 loc) · 1.78 KB
/
python2-perftracker-lib.spec
File metadata and controls
57 lines (47 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
%define _ver 0.1.8
Name: python2-perftracker-lib
Version: %{_ver}
Release: 0
Summary: The perftracker libraries set
BuildArch: noarch
Group: Development/Libraries
License: MIT
BuildRequires: python
Requires: epel-release python python2-pip python-devel python-dateutil python-paramiko gcc openssl-devel
%description
The perftracker-lib is a set of performance and reporting python libraries (the
perftracker client and some helpers)
%install
mkdir $RPM_BUILD_ROOT/bin
touch $RPM_BUILD_ROOT/bin/pt-suite-uploader.py
touch $RPM_BUILD_ROOT/bin/pt-artifact-ctl.py
%post
echo -e "\n====== Installing the perftracker-lib v%{_ver} from sources =======\n"
echo "pip2 install --upgrade perftrackerlib==%{_ver}"
pip2 install --upgrade perftrackerlib==%{_ver}
echo -e "\n====== The perftracker-lib installation done ======================\n"
%postun
echo -e "\n====== Uninstalling the perftracker-lib v%{_ver} =======\n"
echo "pip2 uninstall -y perftrackerlib"
pip2 uninstall -y perftrackerlib
echo -e "\n====== The perftracker-lib uninstallation done =========\n"
%files
%ghost
/bin/pt-suite-uploader.py
/bin/pt-artifact-ctl.py
%changelog
* Mon Jul 20 2020 <perfguru87@gmail.com>
- require python2-pip explicitly
* Sat Jul 18 2020 <perfguru87@gmail.com>
- removed all the UI crawler capabilities (moved to perftracker_cp_crawler)
* Tue Oct 2 2018 <perfguru87@gmail.com>
- added pt-artifact-ctl.py - a tool to manage artifacts
* Thu Aug 16 2018 <perfguru87@gmail.com>
- added libjpeg-devel, zlib-devel needed for Pillow installation
* Tue Aug 7 2018 <perfguru87@gmail.com>
- update to 0.0.20
* Tue Aug 7 2018 <perfguru87@gmail.com>
- update to 0.0.19
* Mon Jul 30 2018 <perfguru87@gmail.com>
- initial version