Directory "brp-tizen.d" is located in /usr/lib/rpm but was set to
%{_libdir}/rpm which expands to /usr/lib64/rpm for 64 bit architectures.
Using the macro %{_rpmconfigdir} solves this issue since it allways
expands to /usr/lib/rpm.
The issue was introduced by commit:
ca1b55134e1f144f7d06d69e9edb8197a3cfc9e1
Change-Id: Ida24145c24913f782d1756130525c42ba71645e5
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
mkdir -p %{buildroot}%{_rpmconfigdir}
install -m0755 %SOURCE0 %SOURCE1 %{buildroot}%{_rpmconfigdir}
install -m0644 -D %SOURCE2 %{buildroot}%{_sysconfdir}/rpm/macros.%name
-install -m0755 -D %SOURCE4 %{buildroot}%{_libdir}/rpm/brp-tizen.d/brp-70-trim-desktopfiles
+install -m0755 -D %SOURCE4 %{buildroot}%{_rpmconfigdir}/brp-tizen.d/brp-70-trim-desktopfiles
%files
%manifest %{name}.manifest