mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
build/ops: rpm: sane packaging of %{_docdir}/ceph directory
9164804416
introduced a build error:
ceph-common-12.1.0+git.1498286248.2fcedc7b3d-1.1.x86_64.rpm: directories not
owned by a package:
- /usr/share/doc/packages/ceph
The %docdir directive is a way of flagging anything in that directory as being
documentation. It does not actually package the directory. And we don't need
it because we're not dumping a large number of files into this directory.
For more information, see the "Directory-related Directives" section of
http://ftp.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
3abb692384
commit
08b81c1500
@ -1027,8 +1027,7 @@ if [ $FIRST_ARG -ge 1 ] ; then
|
||||
fi
|
||||
|
||||
%files common
|
||||
%docdir %{_docdir}
|
||||
%docdir %{_docdir}/ceph
|
||||
%dir %{_docdir}/ceph
|
||||
%doc %{_docdir}/ceph/sample.ceph.conf
|
||||
%doc %{_docdir}/ceph/COPYING
|
||||
%{_bindir}/ceph
|
||||
|
Loading…
Reference in New Issue
Block a user