SHA256
1
0
forked from pool/rpmlint
rpmlint/rpmlint-tests.spec
Dirk Mueller c1f8eba3e1 ------------------------------------------------------------------
- Update to version 84.87+git20181018.60e0249:
  * Add test for %tmpfiles_create foo.conf with no full path

- Update rpmlint-checks to version master (bsc#1116686):
  * Ignore decoding errors as we're not sure we know the encoding
  * Use UTF-8 encoding when opening .pc file (#42)
  * whitelist otrs permission file (#41)
  * Relax various flake8 warnings
  * Handle '-n' option for %service_del_preun %service_del_postun
  * There isn't a good standard, whether the directory should be called 'tests/' or 'test/'

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=646
2019-01-09 19:04:28 +00:00

55 lines
1.5 KiB
RPMSpec

#
# spec file for package rpmlint-tests
#
# Copyright (c) 2019 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 https://bugs.opensuse.org/
#
# icecream 0
#!BuildIgnore: post-build-checks brp-check-suse
BuildRequires: erlang
BuildRequires: rpmlint-Factory-strict
BuildRequires: rpmlint-mini
Name: rpmlint-tests
Version: 84.87+git20181018.60e0249
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
Patch0: rpmlint-tests-sle15.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} >= 1500
%patch0 -p1
%endif
%build
mkdir rpms
make test
%install
%changelog