fix a broken dependecy of Header files 60/40860/2 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0.2015.q2/common/20150615.160027 accepted/tizen/common/20150610.144716 accepted/tizen/mobile/20150611.004735 accepted/tizen/tv/20150611.004740 accepted/tizen/wearable/20150611.004801 submit/tizen/20150610.115312 submit/tizen_3.0.2015.q2_common/20150615.075539 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 10 Jun 2015 01:48:33 +0000 (10:48 +0900)
committerJiwon Park <jiwon44.park@samsung.com>
Wed, 10 Jun 2015 07:01:56 +0000 (16:01 +0900)
Change-Id: I60c903e03faddfccdeb43e24e816e63080ffae93

packaging/libphonenumber.spec

index 7282b22..6b1d824 100644 (file)
@@ -47,6 +47,8 @@ cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_LI
 %install
 %{__make} DESTDIR=%{buildroot} install
 rm %{buildroot}/%{_libdir}/*.a
+# Exported header has dependency on lock_posix.h but lock_posix.h is not installed.
+cp cpp/src/phonenumbers/base/synchronization/lock_posix.h %{buildroot}/%{_includedir}/phonenumbers/base/synchronization/
 
 %post   -n libphonenumber -p /sbin/ldconfig