preserve files permissions while copying them

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
This commit is contained in:
Matej Habrnal 2017-11-08 11:13:05 +01:00
parent c04e12300f
commit f4457e526f

View File

@ -133,7 +133,7 @@ make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_sysconfdir}/pam.d/gdm
# add logo to shell greeter
cp %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas
cp -a %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas
# docs go elsewhere
rm -rf %{buildroot}/%{_prefix}/doc