-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathredhat-support-lib-python.spec.in
More file actions
113 lines (87 loc) · 3.68 KB
/
redhat-support-lib-python.spec.in
File metadata and controls
113 lines (87 loc) · 3.68 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Name: redhat-support-lib-python
Version: [?]
Release: 1%{?dist}
Summary: Red Hat Support Software Development Library
Vendor: Red Hat, Inc.
Group: Development/Libraries
License: ASL 2.0
URL: https://api.access.redhat.com
Source0: http://people.redhat.com/kroberts/projects/redhat-support-lib/%{name}-%{version}.tar.gz
BuildRequires: python-setuptools
BuildArch: noarch
%{!?dist:BuildRequires: buildsys-macros}
Requires: python-lxml
Requires: rpm-python
Requires: python-dateutil
%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} > 5
Requires: ca-certificates
%endif
Requires: m2crypto
%if 0%{?rhel} && 0%{?rhel} <= 5
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
%endif
%description
This package contains the Red Hat Support Software Development Library.
Red Hat customers can use the library to easily integrate their help desk
solutions, IT infrastructure, etc. with the services provided by the
Red Hat Customer Portal.
The library provided by this package is an abstraction layer that simplifies
interactions with the Red Hat Customer Portal. Simply create an instance of
the API by providing the necessary authorization credentials, then use the
API object to interact with the Red Hat Customer Portal.
Some of the interactions supported by this API include, but are not limited to,
automatic diagnostic services on log files, knowledge base searching,
support case creation, attach files to support cases, view the status of
support cases, entitlement viewing, etc.
%prep
%setup -q -n %{name}
%build
%{__python} setup.py build
make %{?_smp_mflags}
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%files
%doc AUTHORS LICENSE README
%{python_sitelib}/redhat_support_lib/
%changelog
* Wed Jan 7 2015 Mark Huth <mhuth@redhat.com> - 0.9.7-3
- Resolves: rhbz#1176473 - FTP upload via proxy
- Small changes to download progress
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-0
- Proxy fix for file uploads
- Get a specific case group
* Fri Sep 5 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-3
- Fix proxy upload attachment
* Thu Jun 19 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-1
- Display download progess for attachments
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
- Various fixes
* Sun Aug 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-8
- Resolves: rhbz#987168
* Tue Jul 23 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-6
- various security fixes
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
- Resolves: rhbz#967498
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
- Resolves: bz869406
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-2
- Various updates including;
- CA certificate fix for EL5
- Support for case filters
* Thu May 23 2013 Nigel Jones <nigjones@redhat.com> - 0.9.4-1
- Downloads:
- Fixes to download handling to avoid excessive memory use
- Localization/Internationalization:
- Changes to support non-ASCII character input from character sets used in
Red Hat GSS supported languages.
* Fri Apr 26 2013 Nigel Jones <nigjones@redhat.com> - 0.9.2-1
- API update to bring in line with current version of Strata.
Changes include:
- Update to Recommendations API
- Pagination of Cases
- Additional fixes for proxy handling, and traceability of exceptions
* Tue Feb 19 2013 Nigel Jones <nigjones@redhat.com> - 0.9.0-2
- Import into Red Hat packaging system
* Fri Aug 17 2012 Keith Robertson <kroberts@redhat.com> - 0.9.0-1
- Initial release