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:
parent
ae1f49058c
commit
d03137a514
1
openQA-rpmlintrc
Normal file
1
openQA-rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
setBadness('suse-dbus-unauthorized-service', 0)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user