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

1eb423
%global         package_version 0.11.2-1
ba8ec5
%global         package_name redhat-support-lib-python
ba8ec5
%global         python_sitelib /usr/lib/python3.6/site-packages
ba8ec5
ba8ec5
Name:           %{package_name}
1eb423
Version:        0.11.2
ba8ec5
Release:        1%{?release_suffix}%{?dist}
ba8ec5
Summary:        Red Hat Support Software Development Library
ba8ec5
Vendor:         Red Hat, Inc.
ba8ec5
Group:          Development/Libraries
ba8ec5
License:        ASL 2.0
ba8ec5
URL:            https://api.access.redhat.com
ba8ec5
Source0:        http://people.redhat.com/kroberts/projects/redhat-support-lib/%{package_name}-%{package_version}.tar.gz
ba8ec5
ba8ec5
BuildRequires: python3-setuptools
ba8ec5
BuildRequires: python3-devel
ba8ec5
BuildArch: noarch
ba8ec5
%{!?dist:BuildRequires: buildsys-macros}
ba8ec5
ba8ec5
Requires: python3
ba8ec5
Requires: python3-lxml
ba8ec5
Requires: python3-rpm
ba8ec5
Requires: python3-dateutil
ba8ec5
Requires: ca-certificates
ba8ec5
ba8ec5
%description
ba8ec5
This package contains the Red Hat Support Software Development Library.
ba8ec5
Red Hat customers can use the library to easily integrate their help desk
ba8ec5
solutions, IT infrastructure, etc. with the services provided by the
ba8ec5
Red Hat Customer Portal.
ba8ec5
ba8ec5
The library provided by this package is an abstraction layer that simplifies
ba8ec5
interactions with the Red Hat Customer Portal. Simply create an instance of
ba8ec5
the API by providing the necessary authorization credentials, then use the
ba8ec5
API object to interact with the Red Hat Customer Portal.
ba8ec5
ba8ec5
Some of the interactions supported by this API include, but are not limited to,
ba8ec5
automatic diagnostic services on log files, knowledge base searching,
ba8ec5
support case creation, attach files to support cases, view the status of
ba8ec5
support cases, entitlement viewing, etc.
ba8ec5
ba8ec5
%prep
ba8ec5
%setup -q -n %{package_name}-%{package_version}
ba8ec5
ba8ec5
%build
ba8ec5
%configure \
ba8ec5
        --docdir="%{_docdir}/%{package_name}-%{version}" \
ba8ec5
        --disable-python-syntax-check
ba8ec5
ba8ec5
make %{?_smp_mflags}
ba8ec5
ba8ec5
%install
ba8ec5
rm -rf "%{buildroot}"
ba8ec5
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
ba8ec5
ba8ec5
%files
ba8ec5
%doc AUTHORS README
ba8ec5
%{python_sitelib}/redhat_support_lib/
ba8ec5
ba8ec5
%changelog
1eb423
* Tue Feb 18 2020 Pranita Ghole<pghole@redhat.com> - 0.11.2-1
1eb423
- Resolves: rhbz#1677257 - redhat-support-lib-python: AttributeError from utils/reporthelper.py no buf
1eb423
ba8ec5
* Fri Feb 08 2019 Pranita Ghole<pghole@redhat.com> - 0.10.1-1
ba8ec5
- Resolves: rhbz#1670001 - redhat-support-tool -o option does not work (soscleaner)
ba8ec5
- Resolves: rhbz#1670369 - redhat-support-lib-python: Traceback on make_report from utils.reporthelper
ba8ec5
- Resolves: rhbz#1670044 - redhat-support-tool proxy does not work on rhel-8 
ba8ec5
ba8ec5
* Mon Jan 14 2019 Vikas Rathee <vrathee@redhat.com> - 0.10.1-0
ba8ec5
- Resolves: rhbz#1628616 - Fixing python 3 issues
ba8ec5
ba8ec5
* Wed Nov 21 2018 Vikas Rathee <vrathee@redhat.com> - 0.10.0-0
ba8ec5
- Resolves: rhbz#1628616 - Changes for rhel-8
ba8ec5
ba8ec5
* Thu May 25 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.8-1
ba8ec5
- Correcting changelog
ba8ec5
ba8ec5
* Tue Jul 5 2016 Mark Huth <mhuth@redhat.com> - 0.9.7-6
ba8ec5
- Resolves: rhbz#1314606 - show progress with addattachment
ba8ec5
- Resolves: rhbz#1314607 - problem with addattachment -s switch
ba8ec5
ba8ec5
* Wed Jan 7 2015 Mark Huth <mhuth@redhat.com> - 0.9.7-3
ba8ec5
- Resolves: rhbz#1176473 - FTP upload via proxy
ba8ec5
- Small changes to download progress
ba8ec5
ba8ec5
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-0
ba8ec5
- Proxy fix for file uploads
ba8ec5
- Get a specific case group
ba8ec5
ba8ec5
* Fri Sep 5 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-3
ba8ec5
- Fix proxy upload attachment
ba8ec5
ba8ec5
* Thu Jun 19 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-1
ba8ec5
- Display download progess for attachments
ba8ec5
ba8ec5
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
ba8ec5
- Various fixes
ba8ec5
ba8ec5
* Sun Aug 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-8
ba8ec5
- Resolves: rhbz#987168
ba8ec5
ba8ec5
* Tue Jul 23 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-6
ba8ec5
- various security fixes
ba8ec5
ba8ec5
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
ba8ec5
- Resolves: rhbz#967498
ba8ec5
ba8ec5
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
ba8ec5
- Resolves: bz869406
ba8ec5
ba8ec5
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-2
ba8ec5
- Various updates including;
ba8ec5
  - CA certificate fix for EL5
ba8ec5
  - Support for case filters
ba8ec5
  
ba8ec5
* Thu May 23 2013 Nigel Jones <nigjones@redhat.com> - 0.9.4-1
ba8ec5
- Downloads:
ba8ec5
  - Fixes to download handling to avoid excessive memory use
ba8ec5
- Localization/Internationalization:
ba8ec5
  - Changes to support non-ASCII character input from character sets used in
ba8ec5
    Red Hat GSS supported languages.
ba8ec5
ba8ec5
* Fri Apr 26 2013 Nigel Jones <nigjones@redhat.com> - 0.9.2-1
ba8ec5
- API update to bring in line with current version of Strata.
ba8ec5
  Changes include:
ba8ec5
   - Update to Recommendations API
ba8ec5
   - Pagination of Cases
ba8ec5
- Additional fixes for proxy handling, and traceability of exceptions
ba8ec5
ba8ec5
* Tue Feb 19 2013 Nigel Jones <nigjones@redhat.com> - 0.9.0-2
ba8ec5
- Import into Red Hat packaging system
ba8ec5
ba8ec5
* Fri Aug 17 2012 Keith Robertson <kroberts@redhat.com> - 0.9.0-1
ba8ec5
- Initial release