fix build error for aarch64 and wayland 31/33131/1
authorBoram Park <boram1288.park@samsung.com>
Tue, 6 Jan 2015 07:00:38 +0000 (16:00 +0900)
committerBoram Park <boram1288.park@samsung.com>
Tue, 6 Jan 2015 07:00:38 +0000 (16:00 +0900)
Change-Id: I853446fcaf845f3d17265dfdbfee1b8debac9279

packaging/e-mod-tizen-effect.spec

index 5a0d7ab..39893c3 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name: e-mod-tizen-effect
 Version: 0.0.1
 Release: 1
@@ -13,6 +15,10 @@ BuildRequires: pkgconfig(edje)
 BuildRequires:  gettext
 BuildRequires:  edje-tools
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 This package provides various window effect(animation)
 as one module of enlightenment.
@@ -41,8 +47,7 @@ rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 
 # clear useless textual files
-find  %{buildroot}/usr/lib/enlightenment/modules/%{name} -name *.la | xargs rm
-#find  %{buildroot}/usr/lib/enlightenment/modules/%{name} -name *.a | xargs rm
+find  %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
 
 
 %files