Blame SPECS/redhat-support-lib-python.spec

02e775
%global         package_version 0.14.0-1
d068fa
%global         package_name redhat-support-lib-python
02e775
%global 	__python /usr/bin/python2
d068fa
d068fa
Name:           %{package_name}
02e775
Version:        0.14.0
02e775
Release:        1%{?release_suffix}%{?dist}
d068fa
Summary:        Red Hat Support Software Development Library
d068fa
Vendor:         Red Hat, Inc.
d068fa
Group:          Development/Libraries
02e775
License:        Apache-2.0
d068fa
URL:            https://api.access.redhat.com
d068fa
Source0:        http://people.redhat.com/kroberts/projects/redhat-support-lib/%{package_name}-%{package_version}.tar.gz
d068fa
d068fa
BuildRequires: python-setuptools
d068fa
BuildArch: noarch
d068fa
%{!?dist:BuildRequires: buildsys-macros}
d068fa
d068fa
d068fa
Requires: python-lxml
d068fa
Requires: rpm-python
d068fa
Requires: python-dateutil
d068fa
%if %{?rhel:0}%{!?rhel:1} || 0%{?rhel} > 5
d068fa
Requires: ca-certificates
d068fa
%endif
81c1cd
Requires: pexpect
81c1cd
Requires: python2-futures
81c1cd
Requires: python-requests
81c1cd
Requires: nmap-ncat
02e775
Requires: python-jwcrypto
d068fa
d068fa
%if 0%{?rhel} && 0%{?rhel} <= 5
d068fa
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
d068fa
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
d068fa
%endif
d068fa
d068fa
%description
d068fa
This package contains the Red Hat Support Software Development Library.
d068fa
Red Hat customers can use the library to easily integrate their help desk
d068fa
solutions, IT infrastructure, etc. with the services provided by the
d068fa
Red Hat Customer Portal.
d068fa
d068fa
The library provided by this package is an abstraction layer that simplifies
d068fa
interactions with the Red Hat Customer Portal. Simply create an instance of
d068fa
the API by providing the necessary authorization credentials, then use the
d068fa
API object to interact with the Red Hat Customer Portal.
d068fa
d068fa
Some of the interactions supported by this API include, but are not limited to,
d068fa
automatic diagnostic services on log files, knowledge base searching,
d068fa
support case creation, attach files to support cases, view the status of
d068fa
support cases, entitlement viewing, etc.
d068fa
d068fa
%prep
d068fa
%setup -q -n %{package_name}-%{package_version}
d068fa
d068fa
%build
d068fa
%configure \
d068fa
        --docdir="%{_docdir}/%{package_name}-%{version}" \
d068fa
        --disable-python-syntax-check
d068fa
d068fa
make %{?_smp_mflags}
d068fa
d068fa
%install
d068fa
rm -rf "%{buildroot}"
d068fa
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
d068fa
d068fa
%files
d068fa
%doc AUTHORS README
d068fa
%{python_sitelib}/redhat_support_lib/
d068fa
d068fa
%changelog
02e775
* Mon Jan 29 2024 Swaraj Pande <spande@redhat.com> - 0.14.0-1
02e775
- Resolves: RHEL-22245 - Deprecate the Basic Authentication in redhat-support-tool
02e775
81c1cd
* Fri Jan 21 2022 Pranita Ghole <pghole@redhat.com> - 0.13.0-0
81c1cd
- Resolves: rhbz#1653574- Add support for handling JSON response from API's
81c1cd
- Resolves: rhbz#1765391- Add support to upload to and download from S3
81c1cd
- Resolves: rhbz#2030066- RHST should use new Red Hat Secure FTP instead of dropbox for attachments
81c1cd
ec440c
* Mon Aug 26 2019 Pranita Ghole <pghole@redhat.com> - 0.12.1-1
ec440c
- Resolves: rhbz#1669454 - connection.py uses incorrect base64 encoding method
ec440c
ec440c
* Thu May 25 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.8-1
ec440c
- Correcting changelog
ec440c
0f3986
* Tue Jul 5 2016 Mark Huth <mhuth@redhat.com> - 0.9.7-6
0f3986
- Resolves: rhbz#1314606 - show progress with addattachment
0f3986
- Resolves: rhbz#1314607 - problem with addattachment -s switch
0f3986
51096a
* Wed Jan 7 2015 Mark Huth <mhuth@redhat.com> - 0.9.7-3
51096a
- Resolves: rhbz#1176473 - FTP upload via proxy
51096a
- Small changes to download progress
51096a
38cacb
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-0
0f3986
- Proxy fix for file uploads
0f3986
- Get a specific case group
0f3986
0f3986
* Fri Sep 5 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-3
0f3986
- Fix proxy upload attachment
0f3986
0f3986
* Thu Jun 19 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-1
0f3986
- Display download progess for attachments
38cacb
cfe61a
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
0f3986
- Various fixes
0f3986
0f3986
* Sun Aug 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-8
0f3986
- Resolves: rhbz#987168
cfe61a
0f3986
* Tue Jul 23 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-6
0f3986
- various security fixes
d068fa
d068fa
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
0f3986
- Resolves: rhbz#967498
d068fa
d068fa
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
d068fa
- Resolves: bz869406
d068fa
d068fa
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-2
d068fa
- Various updates including;
d068fa
  - CA certificate fix for EL5
d068fa
  - Support for case filters
d068fa
  
d068fa
* Thu May 23 2013 Nigel Jones <nigjones@redhat.com> - 0.9.4-1
d068fa
- Downloads:
d068fa
  - Fixes to download handling to avoid excessive memory use
d068fa
- Localization/Internationalization:
d068fa
  - Changes to support non-ASCII character input from character sets used in
d068fa
    Red Hat GSS supported languages.
d068fa
d068fa
* Fri Apr 26 2013 Nigel Jones <nigjones@redhat.com> - 0.9.2-1
d068fa
- API update to bring in line with current version of Strata.
d068fa
  Changes include:
d068fa
   - Update to Recommendations API
d068fa
   - Pagination of Cases
d068fa
- Additional fixes for proxy handling, and traceability of exceptions
d068fa
d068fa
* Tue Feb 19 2013 Nigel Jones <nigjones@redhat.com> - 0.9.0-2
d068fa
- Import into Red Hat packaging system
d068fa
d068fa
* Fri Aug 17 2012 Keith Robertson <kroberts@redhat.com> - 0.9.0-1
d068fa
- Initial release