From: Kefu Chai Date: Fri, 26 Oct 2018 14:03:46 +0000 (+0800) Subject: rpm: use %license macro for packaging license file X-Git-Tag: v14.1.0~1065^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24778%2Fhead;p=ceph.git rpm: use %license macro for packaging license file see https://rpm-guide.readthedocs.io/en/latest/rpm-guide.html#rpm-macros Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index aa610c11ef4b..24ace06c61a8 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1207,7 +1207,7 @@ fi %files common %dir %{_docdir}/ceph %doc %{_docdir}/ceph/sample.ceph.conf -%doc %{_docdir}/ceph/COPYING +%license %{_docdir}/ceph/COPYING %{_bindir}/ceph %{_bindir}/ceph-authtool %{_bindir}/ceph-conf