]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: use %license macro for packaging license file 24778/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Oct 2018 14:03:46 +0000 (22:03 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Oct 2018 14:04:38 +0000 (22:04 +0800)
see https://rpm-guide.readthedocs.io/en/latest/rpm-guide.html#rpm-macros

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in

index aa610c11ef4b86e61cda21d50b1a6d3967948e3e..24ace06c61a8ee73fafaf917b423fb9a4d9ca6c1 100644 (file)
@@ -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