SHA256
1
0
forked from pool/openQA

Re-add openQA-rpmlintrc for older versions

OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=19
This commit is contained in:
Oliver Kurz 2017-06-16 14:38:17 +00:00 committed by Git OBS Bridge
parent ae1f49058c
commit d03137a514
2 changed files with 8 additions and 0 deletions

1
openQA-rpmlintrc Normal file
View File

@ -0,0 +1 @@
setBadness('suse-dbus-unauthorized-service', 0)

View File

@ -47,6 +47,10 @@ Source0: %{name}-%{version}.tar.xz
# a workaround for set_version looking at random files (so we can't name it .tar.xz)
# use update-cache to update it
Source1: cache.txz
# audited dbus service is not accepted in older versions
%if %suse_version < 1330
Source100: openQA-rpmlintrc
%endif
Source101: update-cache.sh
ExcludeArch: i586
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -190,6 +194,9 @@ OBS_RUN=1 prove -r -j2 -v
%install
%make_install
%if %suse_version >= 1330
rm -f openQA-rpmlintrc
%endif
mkdir -p %{buildroot}/usr/share/openqa/etc/openqa
ln -s /etc/openqa/openqa.ini %{buildroot}/usr/share/openqa/etc/openqa/openqa.ini