2014-09-05 13:50:53 +02:00
|
|
|
#
|
|
|
|
# spec file for package rpmlint-tests
|
|
|
|
#
|
2017-01-24 11:34:55 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-09-05 13:50:53 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
# icecream 0
|
|
|
|
|
|
|
|
|
|
|
|
#!BuildIgnore: post-build-checks brp-check-suse
|
|
|
|
|
2016-07-12 11:32:39 +02:00
|
|
|
BuildRequires: rpmlint-Factory-strict
|
2014-09-05 13:50:53 +02:00
|
|
|
BuildRequires: rpmlint-mini
|
|
|
|
|
|
|
|
Name: rpmlint-tests
|
2017-09-28 23:17:43 +02:00
|
|
|
Version: 84.87+git20170928.27b6cb3
|
2014-09-05 13:50:53 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: rpmlint regression tests
|
|
|
|
License: SUSE-Public-Domain
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Url: http://www.opensuse.org/
|
|
|
|
Source: rpmlint-tests-%version.tar.xz
|
2016-11-09 15:12:43 +01:00
|
|
|
Patch1: 0001-Update-varrun-test-for-Leap-42.2-severity-reduction.patch
|
2017-07-04 14:30:44 +02:00
|
|
|
Patch2: rpmlint-pie-leap42.patch
|
|
|
|
Patch3: rpmlint-pie-factory.patch
|
2014-09-05 13:50:53 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package doesn't actually contain any files and is not meant to
|
|
|
|
be installed. It's only useful in the opensuse build service to run
|
|
|
|
regression tests against rpmlint(-mini).
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-11-09 15:12:43 +01:00
|
|
|
%if 0%{?sle_version} >= 120200
|
|
|
|
%patch1 -p1
|
|
|
|
%endif
|
2017-07-04 14:30:44 +02:00
|
|
|
%if 0%{?suse_version} < 1330
|
|
|
|
%patch2 -p1
|
|
|
|
%endif
|
|
|
|
%patch3 -p1
|
2014-09-05 13:50:53 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir rpms
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
%changelog
|