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
f12a53
%global         package_version 0.9.7-1
0e4a83
%global         package_name redhat-support-tool
67b94d
67b94d
Name:           %{package_name}
f12a53
Version:        0.9.7
f12a53
Release:        1%{?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
67b94d
Requires: python-dateutil
f12a53
Requires: redhat-support-lib-python >= 0.9.7-0
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
f12a53
* Mon Oct 20 2014 Keith Robertson <kroberts@redhat.com> - 0.9.7-1
f12a53
- Resolves: rhbz#1108340
f12a53
- Resolves: rhbz#1146316
f12a53
- Resolves: rhbz#1146317
f12a53
- Resolves: rhbz#1117069
f12a53
0e4a83
* Wed Feb 26 2014 Keith Robertson <kroberts@redhat.com> - 0.9.6-0
0e4a83
- Resolves: rhbz#983968
0e4a83
- Resolves: rhbz#1036707
0e4a83
- Resolves: rhbz#1036713
0e4a83
- Resolves: rhbz#1036783
0e4a83
- Resolves: rhbz#1037647
0e4a83
0e4a83
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.5-9
0e4a83
- Mass rebuild 2013-12-27
0e4a83
67b94d
* Mon Aug 12 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-8
67b94d
- Resolves: rhbz#983909
67b94d
67b94d
* Wed Jul 24 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-6
67b94d
- Resolves: rhbz#983903
67b94d
- Resolves: rhbz#983896
67b94d
67b94d
* Mon Jul 22 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-4
67b94d
- Various issues with btextract
67b94d
67b94d
* Tue Jun 11 2013 Keith Robertson <kroberts@redhat.com> - 0.9.5-3
67b94d
- Resolves: rhbz#880777
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