Blame SPECS/redhat-support-tool.spec

a08ff3
#
a08ff3
# Licensed to the Apache Software Foundation (ASF) under one or more
a08ff3
# contributor license agreements.  See the NOTICE file distributed with
a08ff3
# this work for additional information regarding copyright ownership.
a08ff3
# The ASF licenses this file to You under the Apache License, Version 2.0
a08ff3
# (the "License"); you may not use this file except in compliance with
a08ff3
# the License.  You may obtain a copy of the License at
a08ff3
#
a08ff3
#     http://www.apache.org/licenses/LICENSE-2.0
a08ff3
#
a08ff3
# Unless required by applicable law or agreed to in writing, software
a08ff3
# distributed under the License is distributed on an "AS IS" BASIS,
a08ff3
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
a08ff3
# See the License for the specific language governing permissions and
a08ff3
# limitations under the License.
a08ff3
#
a08ff3
a08ff3
%global         package_version 0.11.2-2
a08ff3
%global         package_name redhat-support-tool
a08ff3
%global         python_sitelib /usr/lib/python3.6/site-packages
a08ff3
a08ff3
Name:           %{package_name}
a08ff3
Version:        0.11.2
a08ff3
Release:        2%{?release_suffix}%{?dist}
a08ff3
Summary:        Tool for console access to Red Hat subscriber services
a08ff3
Vendor:         Red Hat, Inc.
a08ff3
Group:          Development/Libraries
a08ff3
License:        ASL 2.0
a08ff3
URL:            https://api.access.redhat.com
a08ff3
Source0:        http://people.redhat.com/kroberts/projects/redhat-support-tool/%{package_name}-%{package_version}.tar.gz
a08ff3
a08ff3
BuildRequires: python3-devel
a08ff3
BuildRequires: python3-setuptools
a08ff3
BuildArch: noarch
a08ff3
%{!?dist:BuildRequires: buildsys-macros}
a08ff3
a08ff3
Requires: python3
a08ff3
Requires: python3-lxml
a08ff3
Requires: python3-magic
a08ff3
Requires: python3-dateutil
a08ff3
Requires: redhat-support-lib-python >= 0.11.2-1
a08ff3
a08ff3
BuildRoot: %{_topdir}/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
a08ff3
a08ff3
%description
a08ff3
This package contains the Red Hat Support Tool.  The Red Hat Support Tool
a08ff3
provides console based access to Red Hat's subscriber services.  These
a08ff3
services include, but are not limited to, console based access to
a08ff3
knowledge-base solutions, case management, automated diagnostic
a08ff3
services, etc.
a08ff3
a08ff3
%prep
a08ff3
%setup -q -n %{package_name}-%{package_version}
a08ff3
a08ff3
%build
a08ff3
%configure \
a08ff3
        --disable-python-syntax-check
a08ff3
a08ff3
make %{?_smp_mflags}
a08ff3
a08ff3
# For sample vendor plugin
a08ff3
mkdir -p samples/vendors/
a08ff3
mv src/redhat_support_tool/vendors/ACMECorp samples/vendors/
a08ff3
a08ff3
%install
a08ff3
rm -rf "%{buildroot}"
a08ff3
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
a08ff3
a08ff3
%files
a08ff3
%doc AUTHORS README README.plugins samples/
a08ff3
%{python_sitelib}/redhat_support_tool/
a08ff3
%{_bindir}/redhat-support-tool
a08ff3
a08ff3
%changelog
a08ff3
* Tue Feb 18 2020 Pranita Ghole<pghole@redhat.com> - 0.11.2-2
a08ff3
- Resolves: rhbz#1685296 - redhat-support-tool env var http_proxy does not work with user and password
a08ff3
- Resolves: rhbz#1685295 - [RFE][RHEL8] Include Reason in cases of failed proxy
a08ff3
- Resolves: rhbz#1684321 - redhat-support-tool config debug <level>` fails with "ERROR: debug is not a valid configuration file option.
a08ff3
a08ff3
* Thu Mar 28 2019 AP Rajshekhar<randalap@redhat.com> - 0.10.1-2
a08ff3
- Resolves: rhbz#1680690 - redhat-support-tool changes blocked until gating tests are added
a08ff3
a08ff3
* Fri Feb 08 2019 Pranita Ghole<pghole@redhat.com> - 0.10.0-2
a08ff3
- Resolves: rhbz#1670001 - redhat-support-tool -o option does not work (soscleaner)
a08ff3
- Resolves: rhbz#1670369 - redhat-support-lib-python: Traceback on make_report from utils.reporthelper
a08ff3
- Resolves: rhbz#1670044 - redhat-support-tool proxy does not work on rhel-8
a08ff3
a08ff3
* Mon Jan 21 2019 Vikas Rathee <vrathee@redhat.com> - 0.10.1-0
a08ff3
- Resolves: rhbz#1628538 - Fixing python 3 issues and using latest redhat-support-lib-python
a08ff3
a08ff3
* Wed Nov 21 2018 Vikas Rathee <vrathee@redhat.com> - 0.10.0-0
a08ff3
- Resolves: rhbz#1628538 - Changes for rhel-8
a08ff3
a08ff3
* Thu Nov 2 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.10-1
a08ff3
- Resolves: rhbz#1342627 - List cases by group.
a08ff3
- Resolves: rhbz#1379619 - Inform when http_proxy environment variable is used.
a08ff3
a08ff3
* Wed May 31 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.9-3
a08ff3
- Resolves: rhbz#1380109 - Correcting spacing in non-interactive mode search results.
a08ff3
a08ff3
* Thu May 25 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.9-2
a08ff3
- Resolves: rhbz#1380109 - Include last modified date for solutions in non-interactive mode search
a08ff3
a08ff3
* Thu Apr 27 2017 Vikas Rathee <vrathee@redhat.com> - 0.9.9-1
a08ff3
- Resolves: rhbz#1380109 - Include creation date and last modified date in Solution title details.
a08ff3
- Resolves: rhbz#1342628 - When opening a new case, offer a default product.
a08ff3
- Resolves: rhbz#1342632 - When opening a new case, offer to use the default case group of that user.
a08ff3
a08ff3
* Tue Jul 5 2016 Mark Huth <mhuth@redhat.com> - 0.9.8-6
a08ff3
- Resolves: rhbz#1104344 - add soscleaner
a08ff3
- Resolves: rhbz#1273976 - caches bad password
a08ff3
- Resolves: rhbz#1284306 - improve ? help
a08ff3
- Resolves: rhbz#1284308 - show attachment sizes
a08ff3
- Resolves: rhbz#1284309 - show attachment full path
a08ff3
- Resolves: rhbz#1284314 - differentiate diagnose and analyze
a08ff3
- Resolves: rhbz#1290909 - change case internal status
a08ff3
- Resolves: rhbz#1351141 - reverse severity list
a08ff3
a08ff3
* Wed Mar 4 2015 Mark Huth <mhuth@redhat.com> - 0.9.7-4
a08ff3
- Resolves: rhbz#1196297 - typos in opencase
a08ff3
- Resolves: rhbz#1196316 - change menus when closing a case
a08ff3
- Fallback to ownerSSOName if associateSSOName filter gets 404 error in listcases
a08ff3
- Other small fixes
a08ff3
a08ff3
* Wed Jan 7 2015 Mark Huth <mhuth@redhat.com> - 0.9.7-3
a08ff3
- Resolves: rhbz#1168414 - rhel7 vmcore offset
a08ff3
- Resolves: rhbz#1174461 - skip already downloaded attachments
a08ff3
- Resolves: rhbz#1176473 - fix addattachment via FTP and proxy
a08ff3
- Make debug_repos configurable via config option
a08ff3
a08ff3
* Thu Nov 13 2014 Mark Huth <mhuth@redhat.com> - 0.9.7-2
a08ff3
- bz1161141 - search plugin output gives URLs to the XML page, not html
a08ff3
- bz1122161 - rfe for comment numbers and public/private markers in Case Discussion in getcase
a08ff3
- bz1122164 - rfe for ability to add private comments and attachments to a case
a08ff3
a08ff3
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-1
a08ff3
- Allow the CLI to return more than 50 results
a08ff3
- TypeError: Incorrect padding with a specific password and not working further.
a08ff3
- diagnose filename output gives URLs to the XML file, not html, and XML displays author sso name
a08ff3
- getcase subcommand of redhat-support-tool doesn't show the group name
a08ff3
a08ff3
* Fri Sep 5 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-3
a08ff3
- Fix btextract in non-interactive mode
a08ff3
a08ff3
* Thu Jun 19 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-2
a08ff3
- Display download progess for attachments
a08ff3
- Fix list attachments duplicates
a08ff3
a08ff3
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
a08ff3
- Various fixes
a08ff3
a08ff3
* Wed Aug 14 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-8
a08ff3
- Resolves: rhbz#987168
a08ff3
a08ff3
* Tue Jul 23 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-6
a08ff3
- Various RHEL 5 issues
a08ff3
a08ff3
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
a08ff3
- Resolves: rhbz#983909
a08ff3
- Resolves: rhbz#983896
a08ff3
- Resolves: rhbz#983903
a08ff3
- Also various issues with btextract
a08ff3
a08ff3
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
a08ff3
- Resolves: bz880766
a08ff3
a08ff3
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-2
a08ff3
- Various updates including;
a08ff3
  - Filtering and pagination of listcases
a08ff3
  - casegroup command
a08ff3
  - opencase is in the analyze and diagnose commands
a08ff3
  
a08ff3
* Thu May 23 2013 Nigel Jones <nigjones@redhat.com> - 0.9.4-1
a08ff3
- Diagnostics:
a08ff3
  - Opening a case will now trigger the case recommendations engine
a08ff3
    prior to opening the case.
a08ff3
  - Extracted backtraces from kernel vmcores can be passed to
a08ff3
    Ask Shadowman at the users request
a08ff3
- Case Handling:
a08ff3
  - modifycase can be triggered on a selected case
a08ff3
  - Per above, opencase/diagnostics support
a08ff3
- Plugins:
a08ff3
  - Ability for Vendor/L3 plugins
a08ff3
  - Sample 'ACMECorp' plugin + README.plugins in documentation directory.
a08ff3
- Localization/Internationalization:
a08ff3
  - Changes to support non-ASCII character input from character sets used in
a08ff3
    Red Hat GSS supported languages.
a08ff3
a08ff3
* Wed May 1 2013 Nigel Jones <nigjones@redhat.com> - 0.9.3-1
a08ff3
- Pagination bug fix to fix an offsetting bug that could contribute
a08ff3
  to missing, or duplicate results.
a08ff3
a08ff3
* Fri Apr 26 2013 Nigel Jones <nigjones@redhat.com> - 0.9.2-1
a08ff3
- Various updates to source, including:
a08ff3
  - Pagination of 'listcases'
a08ff3
  - Better debugability
a08ff3
  - Splitfile abilities to 'addattachment'
a08ff3
  - Recommendations support
a08ff3
  - Changes to 'downloadall' attachment handling
a08ff3
a08ff3
* Wed Feb 20 2013 Nigel Jones <nigjones@redhat.com> - 0.9.0-2
a08ff3
- Import into Red Hat packaging system
a08ff3
a08ff3
* Fri Apr 13 2012 Keith Robertson <kroberts@redhat.com> - 0.9.0-1
a08ff3
- Initial build