From 994aacdaa6de21ad8c4bb7d4770af657b350a59f Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Apr 18 2016 16:54:30 +0000 Subject: Include license file in systemd-libs It can be installed without the main package, so it should carry the file too. --- diff --git a/systemd.spec b/systemd.spec index 5bbeb72..847c03b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -586,6 +586,8 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd %systemd_postun_with_restart systemd-journal-upload.service %firewalld_reload +%global _docdir_fmt %{name} + %files -f %{name}.lang %doc %{_pkgdocdir} %exclude %{_pkgdocdir}/LICENSE.* @@ -844,6 +846,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd %{_libdir}/libnss_resolve.so.2 %{_libdir}/libudev.so.* %{_libdir}/libsystemd.so.* +%license LICENSE.LGPL2.1 %files pam %{_libdir}/security/pam_systemd.so