]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: add missing % in %dir directive 40599/head
authorNathan Cutler <ncutler@suse.com>
Mon, 5 Apr 2021 15:21:22 +0000 (17:21 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 5 Apr 2021 15:30:04 +0000 (17:30 +0200)
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 <ncutler@suse.com>
ceph.spec.in

index d6a79cc51b3dc7466c1348167cd8f6471691665e..c17fcf31b13ed5bd62eed387c786668db4dc7afb 100644 (file)
@@ -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*