File rpmlint-Factory.spec of Package rpmlint-Factory

# spec file for package rpmlint-Factory
# Copyright (c) 2013 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

Name:           rpmlint-Factory
Requires:       rpmlint-mini
Summary:        Rpm correctness checker - Factory configuration
License:        GPL-2.0+
Group:          System/Packages
Version:        1.0
Release:        0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source1:        COPYING
Source2:        config
Source3:        config.strict
BuildArch:      noarch

Rpmlint is a tool to check common errors on rpm packages. This package
provides the configuration specific for SUSE Factory.

%package strict
Summary:        Confict only applying to openSUSE:Factory itself
Group:          System/Packages

%description strict
Forbid invalid licenses

cp %{SOURCE1} .


install -m 644 -D %{SOURCE2} $RPM_BUILD_ROOT/etc/rpmlint/factory.config
install -m 644 -D %{SOURCE3} $RPM_BUILD_ROOT/etc/rpmlint/factory-strict.config


%dir /etc/rpmlint

%files strict
%dir /etc/rpmlint