From 404f8b2ce268917c9ce04fa06aaccff4816ad8d6 Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Mon, 5 Apr 2021 17:21:22 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index d6a79cc51b3..c17fcf31b13 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1591,7 +1591,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*