From: Nathan Cutler Date: Mon, 5 Apr 2021 15:21:22 +0000 (+0200) Subject: rpm: add missing % in %dir directive X-Git-Tag: v16.2.11~358^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5cecde0ea61a8c72a530b07551a917e325009dcd;p=ceph.git rpm: add missing % in %dir directive de6c8250a6d91403e6d334aeb901bf9720ba40eb added an explicit %dir directive for a new directory added to the ceph-common package, but -- due to a typo -- neglected to include the "%". As a result, RPM builds started to fail with: Processing files: ceph-common-17.0.0-2787.gde6c8250.el8.x86_64 error: File must begin with "/": {_libdir}/ceph/denc/ RPM build errors: File must begin with "/": {_libdir}/ceph/denc/ Fixes: de6c8250a6d91403e6d334aeb901bf9720ba40eb Signed-off-by: Nathan Cutler (cherry picked from commit 404f8b2ce268917c9ce04fa06aaccff4816ad8d6) --- diff --git a/ceph.spec.in b/ceph.spec.in index 77084fa0349f..a4d6162174e1 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1581,7 +1581,7 @@ exit 0 %{_bindir}/rbd-replay-prep %endif %{_bindir}/ceph-post-file -%dir {_libdir}/ceph/denc/ +%dir %{_libdir}/ceph/denc %{_libdir}/ceph/denc/denc-mod-*.so %{_tmpfilesdir}/ceph-common.conf %{_mandir}/man8/ceph-authtool.8*