[libvirt-dbus PATCH 9/9] spec: Pick documentation from installation directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that the documentation is installed just like other files,
we can also pick it from the installation directory instead of
the source directory.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 libvirt-dbus.spec.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in
index 84172fa..2230ffc 100644
--- a/libvirt-dbus.spec.in
+++ b/libvirt-dbus.spec.in
@@ -50,8 +50,9 @@ getent passwd %{system_user} >/dev/null || \
 exit 0
 
 %files
-%doc AUTHORS.rst NEWS.rst
-%license COPYING
+%doc %{_docdir}/%{name}/AUTHORS.rst
+%doc %{_docdir}/%{name}/NEWS.rst
+%license %{_docdir}/%{name}/COPYING
 %{_sbindir}/libvirt-dbus
 %{_datadir}/dbus-1/services/org.libvirt.service
 %{_datadir}/dbus-1/system-services/org.libvirt.service
-- 
2.25.3





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux