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

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