-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytiger.spec
More file actions
95 lines (71 loc) · 3.08 KB
/
pytiger.spec
File metadata and controls
95 lines (71 loc) · 3.08 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%{!?python3_pkgversion: %global python3_pkgversion 3}
%global pkg_name pytiger
%global py_prefix python%{python3_pkgversion}
%global sum Tiger Computing Ltd Python Utilities
Name: %{pkg_name}
Summary: %{sum}
Version: 2.0.2
Release: 1%{?dist}
Group: Development/Libraries
License: BSD-3-clause
Source0: %{pkg_name}-%{version}.tar.gz
Url: https://github.com/tigercomputing/%{pkg_name}
BuildArch: noarch
%if 0%{?rhel}
BuildRequires: epel-rpm-macros
BuildRequires: %{py_prefix}-devel
%endif
BuildRequires: %{py_prefix}-setuptools
%description
This is the Tiger Computing Ltd Python Utility library, pytiger.
%package -n %{py_prefix}-%{pkg_name}
Summary: %{sum}
%description -n %{py_prefix}-%{pkg_name}
This is the Tiger Computing Ltd Python Utility library, pytiger.
%prep
%setup -n %{pkg_name}-%{version} -q
%build
%{__python3} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files -n %{py_prefix}-%{pkg_name}
%{python3_sitelib}/*
%changelog
* Tue Aug 12 2025 Chris Boot <crb@tiger-computing.co.uk> - 2.0.2-1
- Add SLES15 builds.
* Tue Jun 17 2025 Chris Boot <crb@tiger-computing.co.uk> - 2.0.1-1
- Add EL10 builds.
* Fri Jan 31 2025 Chris Boot <crb@tiger-computing.co.uk> - 2.0.0-1
- Drop Python 2 compatibility.
- Remove all CentOS 7 packages, including SCL.
- Remove deprecated pytiger.logging.legacy module.
- Remove deprecated pytiger.nagios module.
- Remove deprecated pytiger.monitoring.MonitoringCheck.warn method.
- Fix pytiger.logging.config Python 3.13 compatbility.
* Tue Oct 24 2023 Chris Boot <crb@tiger-computing.co.uk> - 1.2.2-1
- Add GitLab CI test runs and RPM building.
- Overhaul the RPM spec file completely.
- Refactor pytiger.utils.plugins for Python 3.12.
* Wed Jan 13 2021 Jonathan Wiltshire <jmw@tiger-computing.co.uk> - 1.2.1-4
- Build for Python 3 by default, and Python 2 as an option.
* Fri Apr 05 2019 Chris Boot <crb@tiger-computing.co.uk> - 1.2.1-3
- Rename python-pytiger back to python2-pytiger for native Python 2.x builds.
* Thu Apr 04 2019 Chris Boot <crb@tiger-computing.co.uk> - 1.2.1-2
- Overhaul the RPM spec file completely.
* Mon Jul 30 2018 Chris Boot <crb@tiger-computing.co.uk> - 1.2.1-1
- Correct code examples and formatting in pytiger.logging.
* Tue Mar 06 2018 Jonathan Wiltshire <jmw@tiger-computing.co.uk> - 1.2.0-1
- Add a `separator` parameter to :func:`pytiger.monitoring.MonitoringCheck.exit`
- New module: :mod:`pytiger.logging.syslog`
- Set minimum Python interpreter version to 2.6
- New module: :mod:`pytiger.logging.config`
- New module: :mod:`pytiger.monitoring` (replacing :mod:`pytiger.nagios`)
* Fri Feb 16 2018 Jonathan Wiltshire <jmw@tiger-computing.co.uk> - 1.1.1-1
- Replace nagios.NagiosCheck.warn() with warning().
* Thu Nov 30 2017 Chris Boot <crb@tiger-computing.co.uk> - 1.1.0-2
- Add support for rh-python35 SCL. Make SCL selection a bit more generic.
* Tue Nov 01 2016 Chris Boot <crb@tiger-computing.co.uk> - 1.1.0-1
- First real RPM release for CentOS 6 and 7, plus 6+sclpy27 and 6+sclpy34.
* Tue Sep 08 2015 Chris Boot <crb@tiger-computing.co.uk> - 1.0.0-0.1.a
- Initial RPM release