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

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