diff --git a/midipix-rpm-config.spec b/midipix-rpm-config.spec index 2debd49..7d5246f 100644 --- a/midipix-rpm-config.spec +++ b/midipix-rpm-config.spec @@ -38,21 +38,21 @@ are built consistently. %install # Install main vendor files -mkdir -p %{buildroot}%{_rpmconfigdir}/%{_dist_vendor} -install -tpm 0644 %{buildroot}%{_rpmconfigdir}/%{_dist_vendor} %{_dist_vendor}/* +mkdir -p %{buildroot}%{_rpmconfigdir}/%{dist_vendor} +install -pm 0644 -t %{buildroot}%{_rpmconfigdir}/%{dist_vendor} %{dist_vendor}/* # Install other macros mkdir -p %{buildroot}%{_rpmmacrodir} -install -tpm 0644 %{buildroot}%{_rpmmacrodir} macros.d/* +install -pm 0644 -t %{buildroot}%{_rpmmacrodir} macros.d/* # Install dependency generators mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs -install -tpm 0644 %{buildroot}%{_rpmconfigdir}/fileattrs fileattrs/*.attr +install -pm 0644 -t %{buildroot}%{_rpmconfigdir}/fileattrs fileattrs/*.attr %files %license COPYING %doc README.md -%{_rpmconfigdir}/%{_dist_vendor}/ +%{_rpmconfigdir}/%{dist_vendor}/ %{_rpmconfigdir}/fileattrs/*.attr %{_rpmmacrodir}/macros.*