Blame SPECS/redhat-support-tool.spec

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