From 41a39c9fe36dbbbc769ca391c32d5f8a3c0c0291 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Mon, 15 Sep 2014 10:12:13 +0200 Subject: [PATCH] Fix x86_64 build: wrong macro MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- packaging/update-desktop-files.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/update-desktop-files.spec b/packaging/update-desktop-files.spec index d1f160e..b9ffe97 100644 --- a/packaging/update-desktop-files.spec +++ b/packaging/update-desktop-files.spec @@ -39,7 +39,7 @@ cd %name 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 -- 2.7.4