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