From 1cb5599c01ddd45f2d5bc76be29481f9a54f213f4e9c9ca5817adeab3f7438ac Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 20 Feb 2018 12:45:36 +0000 Subject: [PATCH] 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 --- davfs2-rpmlintrc | 1 - davfs2.changes | 5 +++++ davfs2.spec | 9 ++++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/davfs2-rpmlintrc b/davfs2-rpmlintrc index cafba9c..3677499 100644 --- a/davfs2-rpmlintrc +++ b/davfs2-rpmlintrc @@ -1,2 +1 @@ addFilter("files-duplicate .*/doc/.*") -setBadness('non-standard-uid', 0) diff --git a/davfs2.changes b/davfs2.changes index 8ae7362..5d3d820 100644 --- a/davfs2.changes +++ b/davfs2.changes @@ -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 diff --git a/davfs2.spec b/davfs2.spec index 7daf958..8b05a1a 100644 --- a/davfs2.spec +++ b/davfs2.spec @@ -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} || :