File suse-sam.spec of Package suse-sam

#
# spec file for package suse-sam (Version 0.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           suse-sam
License:        GPL v2 or later
Group:          System/Management
Requires:       rpm perl
Recommends:     gpg libzypp perl-satsolver perl-XML-Simple
AutoReqProv:    on
Version:        0.6
Release:        2
Summary:        Supportability Analysis Module
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Source0:        sam
Source1:        COPYING

%description
A single tool to determine if an SLE product is in a supportable state.
This includes appliances and NTS use.



Authors:
--------
    rw@suse.de
    od@suse.de

%prep
%{__cp} %{S:0} .
%{__cp} %{S:1} .

%build

%install
%{__install} -D -m 755 sam %{buildroot}%{_bindir}/sam

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/*

%changelog
* Fri Nov 21 2008 od@suse.de
- renamed the package to suse-sam (bnc#444182)
* Fri Nov 21 2008 od@suse.de
- update to version 0.6:
  * do not use normal assessment code for multihomed files
  * when header sig checks are disabled, do not look for keys,
  improve logging
  * fixed logging and reporting in various places:
     - report found repositories, link updates to repositories
     - documented log levels in the code
     - log informative messages at a higher level
     - log missing signatures on SUSE/Novell packages on lowest
  level
     - log missing signatures on foreign packages on informative
  level
     - clean up path names in log (simplify successive "/" to one
  "/")
     - fixed bug that suppressed logging for multihomed file
  messages
     - do not log timestamp for foreign package dependency checking
     - removed redundant version and unneeded architecture from
  package-to-repo matching log, making it more readable
     - new log message for "no package with this name exists"
     - report available updates
     - use one line to report a file verification anomaly
     - use minimum field length for filenames to represent
  anomalies more clearly
     - include dependencies on foreign packages in "unsupportable"
  report
     - log unusable satsolver differently from missing satsolver
     - report when finding orphanded files has been disabled
     - report skipped verification steps clearly
     - show invocation command line and adjust milestone numbering
     - make log timestamp more readable
  * implemented --no-header-sig-check
  * check RSA header signatures as well, prefer RSA over DSA
  * some code housekeeping cleanup (moved Die() function, ...)
  * die when "uname -m" fails
* Fri Nov 14 2008 od@suse.de
- check for needed methods in satsolver, improve logging
* Thu Nov 13 2008 od@suse.de
- update to version 0.5:
  * implement package version checks against available repositories
  * implement --no-rpm-verify and --no-orphan-search
  * use $ZYPP_CONF environment variable when set
  * add recommends for gpg, libzypp, perl-satsolver and
  perl-XML-Simple
  * change package requires: drop /bin/rm (removed from script),
  add perl
  * give more descriptive error message when cache is unacceptable
  * added explanation for "NOT supportable" msg
  * usage message: show all options, version, program title
  * Raymund Will <rw@suse.de>: Rectify author-/ownership.
  * find packages that depend on foreign packages
  * implemented finding SUSE/Novell packages by checking the build
  keys
  * use perl macros to handle child exit codes, print exit code
  * statistics: for hardlinks, count file sizes and inodes only
  once
  * print continuation line marker only when the message has been
  printed as well
  * when a file is missing, report RPM error message
  * do not fail when RPM could not perform all checks on an
  unreadable file
  * use Unsupportable/Tolerable/Harmless/Ok instead of
  Error/Warn/Info in assessment
  * factor out supportability evaluation routines from verification
  loop
  * added comments and some notes
  * change indentation and variable names for readability
  * Raymund Will <rw@suse.de>: Generate JSON report.
* Wed Oct 15 2008 crrodriguez@suse.de
- fix build..
* Mon Oct 13 2008 od@suse.de
- added GPLv2 COPYING file
* Mon Sep 29 2008 od@suse.de
- new package
openSUSE Build Service is sponsored by