# # spec file for package rpmlint-tests # # Copyright (c) 2017 SUSE LINUX 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/ # # icecream 0 #!BuildIgnore: post-build-checks brp-check-suse BuildRequires: rpmlint-Factory-strict BuildRequires: rpmlint-mini Name: rpmlint-tests Version: 84.87+git20170928.27b6cb3 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 Patch1: 0001-Update-varrun-test-for-Leap-42.2-severity-reduction.patch Patch2: rpmlint-pie-leap42.patch Patch3: rpmlint-pie-factory.patch %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 %if 0%{?sle_version} >= 120200 %patch1 -p1 %endif %if 0%{?suse_version} < 1330 %patch2 -p1 %endif %patch3 -p1 %build mkdir rpms make test %install %changelog