Blame SPECS/redhat-support-tool.spec

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