From 51f362c39a9066f0f40aa8a48dd849f60915f281 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Oct 07 2016 11:55:33 +0000 Subject: Use install --target-directory --- diff --git a/systemd.spec b/systemd.spec index 567b627..4d0d31f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -296,7 +296,7 @@ ln -s ../bin/systemctl %{buildroot}%{_sbindir}/runlevel touch %{buildroot}/etc/crypttab chmod 600 %{buildroot}/etc/crypttab -install -Dm0644 %{SOURCE5} %{buildroot}/etc/ +install -Dm0644 -t %{buildroot}/etc/ %{SOURCE5} install -Dm0644 %{SOURCE6} %{buildroot}/etc/sysctl.conf ln -s ../sysctl.conf %{buildroot}/etc/sysctl.d/99-sysctl.conf @@ -350,13 +350,11 @@ touch %{buildroot}%{_localstatedir}/lib/systemd/clock # Install yum protection fragment install -Dm0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/yum/protected.d/systemd.conf -mkdir -vp %{buildroot}/usr/lib/firewalld/services/ -install -Dm0644 %{SOURCE7} %{buildroot}/usr/lib/firewalld/services/ -install -Dm0644 %{SOURCE8} %{buildroot}/usr/lib/firewalld/services/ +install -Dm0644 -t %{buildroot}/usr/lib/firewalld/services/ %{SOURCE7} %{SOURCE8} # Install additional docs # https://bugzilla.redhat.com/show_bug.cgi?id=1234951 -install -Dm0644 %{SOURCE9} %{buildroot}%{_pkgdocdir}/ +install -Dm0644 -t %{buildroot}%{_pkgdocdir}/ %{SOURCE9} %find_lang %{name}