File suse-sam.spec of Package suse-sam

#
# spec file for package suse-sam (Version 0.7.0)
#
# Copyright (c) 2009 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 perl-XML-Simple satsolver-tools
Recommends:     gpg libzypp perl-satsolver
AutoReqProv:    on
Version:        0.7.0
Release:        2
Summary:        Supportability Analysis Module
Url:            http://git.opensuse.org/?p=projects/supportability-analysis-module.git
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Source:         %{name}-%{version}.tar.bz2

%description
A tool to check certain criteria, which are mandatory in order to
obtain technical support from Novell.



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

%prep
%setup -q -n %{name}

%build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/*
%changelog
* Mon Feb 23 2009 od@suse.de
- update to version 0.7.0:
  * report found products, give cues to products and repos in log
  * ignore product files unless they are called *.prod or
  baseproduct
  * read product-related infos from solv-files to identify them
  * use content-file information only if libsatsolver unusable
  * ignore repositories that come without sufficient product
  information
  * use solv files created from reference data as additional
  repositories or "possible sources" for packages
  * require satsolver-tools as sam needs repo2solv.sh
  * improve logging for repositories
  * skip unreadable repo files
  * convert "/" in repo ids to "_" when used as a subdir name
  * use gpg keys from reference data
  * fix gpg: never ask questions or wait for input
  * make sure to remove temporary directory on exit
  * log version of installed sam packages, contained reference data
  * collect list of codestreams allowed by installed SUSE/Novell
  products
  * only accept codestreams that match the known codestream_schema
  * treat packages with mismatched codestream as foreign packages
  * cache file version bumped to 0.8
  * help message: remove size estimate for temp files, as 10 MB or
  more may be required (depends on size of reference data now)
  * warn if signature is ok but VENDOR does not look not ok
  * if signing keys exist but package is not signed, do not
  identify by VENDOR
* Tue Feb 17 2009 od@suse.de
- update to version 0.6.1:
  * do not find orphans by default: changed option
    --no-orphan-search to --orphan-search
  * spec-files: update summary, URL
  * improve error message for missing "/proc/self/status"
  * use /tmp safely (bnc#472793)
  * evaluate $TMPDIR
  * quote external filenames in gpg commands
  * add log message for one more gpg command
  * use root dir to find installed packages when checking package evrs against repos
  * use "rpm -qa" cache during debugging (for speed)
  * report problem more verbosely when "rpm -Vv" cache does not match
  * fixed a typo in an "rpm -Vv" error message
  * use " kB" consistently in output
  * do not use underscores in time stamp, make them compliant with
  ISO-8601 and RFC3339
  * interpret debug flag as collection of flag bits
  * use some empty lines to make output more readable
  * use %%packinfo and %%alieninfo hashes
  * in "rpm -qa", read epoch, buildtime, distribution
  * bump cache file version from 0.4 to 0.7
* 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