resolve build error in aarch64 and x86_64 56/199656/3 accepted/tizen/unified/20190218.063847 submit/tizen/20190215.002439
authorJongmin Lee <jm105.lee@samsung.com>
Wed, 13 Feb 2019 23:49:51 +0000 (08:49 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 13 Feb 2019 23:52:37 +0000 (08:52 +0900)
Change-Id: If8eca24aa27ea20a167eb1c08ddf8fef306654db

packaging/at-spi2-atk.spec

index b2925bd..37e881d 100644 (file)
@@ -44,12 +44,14 @@ accessibility toolkit. This version is based on dbus.
 cp %{SOURCE1001} .
 
 %build
-meson build
-(cd build && ninja)
+meson --prefix /usr/ build
+ninja -C build all
 
 %install
 rm -rf %{buildroot}
-(cd build && DESTDIR=%{buildroot} ninja install)
+
+export DESTDIR=%{buildroot}
+ninja -C build install
 
 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
 find %{buildroot} -name '*.desktop' | xargs rm -f
@@ -64,15 +66,15 @@ rm -rf %{buildroot}
 %files -n libatk-bridge-2_0-0
 %manifest %{name}.manifest
 %defattr(-,root,root)
-/usr/local/lib/libatk-bridge-2.0.so.*
-/usr/local/lib/gtk-2.0/modules/libatk-bridge.so
+%{_libdir}/libatk-bridge-2.0.so.*
+%{_libdir}/gtk-2.0/modules/libatk-bridge.so
 
 %files devel
 %manifest %{name}.manifest
 %defattr(-,root,root)
-/usr/local/include/at-spi2-atk/2.0/atk-bridge.h
-/usr/local/lib/libatk-bridge-2.0.so
-/usr/local/lib/pkgconfig/atk-bridge-2.0.pc
+%{_includedir}/at-spi2-atk/2.0/atk-bridge.h
+%{_libdir}/libatk-bridge-2.0.so
+%{_libdir}/pkgconfig/atk-bridge-2.0.pc
 
 %changelog
 * Mon Mar 25 2013 tomasz.duszynski@comarch.com