Accepting request 578339 from home:dsterba:branches:filesystems

- spec: update rpmlint, fix build

OBS-URL: https://build.opensuse.org/request/show/578339
OBS-URL: https://build.opensuse.org/package/show/filesystems/davfs2?expand=0&rev=15
This commit is contained in:
David Sterba 2018-02-20 12:45:36 +00:00 committed by Git OBS Bridge
parent a09457033a
commit 1cb5599c01
3 changed files with 11 additions and 4 deletions

View File

@ -1,2 +1 @@
addFilter("files-duplicate .*/doc/.*")
setBadness('non-standard-uid', 0)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 00:00:00 CET 2018 - dsterba@suse.cz
- spec: update rpmlint, fix build
-------------------------------------------------------------------
Mon Dec 4 16:07:50 UTC 2017 - chris@computersalat.de

View File

@ -1,7 +1,7 @@
#
# spec file for package davfs2
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -68,7 +68,7 @@ dav_group="%{name}" \
PIE="-fPIE"
pie="-pie"
%endif
make AM_CFLAGS="-Wall $PIE" AM_LDFLAGS="$pie" %{?_smp_mflags}
make AM_CFLAGS="-Wall $RPM_OPT_FLAGS $PIE" AM_LDFLAGS="$pie" %{?_smp_mflags}
%install
%{?make_install}
@ -82,7 +82,10 @@ make AM_CFLAGS="-Wall $PIE" AM_LDFLAGS="$pie" %{?_smp_mflags}
%__rm -rf "%{buildroot}%{_docdir}"
%__debug_install_post
# debuginfo is broken
#%__debug_install_post
find %{buildroot}/usr/lib/debug -name '*davfs*' -print -delete
find %{buildroot}/usr/lib/debug -lname '*davfs*' -print -delete
%pre
/usr/bin/getent group %{name} >/dev/null 2>&1 || /usr/sbin/groupadd -r %{name} || :