pkgconfig file renabmed to libelf0 15/231015/1 accepted/tizen_6.0_base accepted/tizen_6.0_base_hotfix accepted/tizen_6.5_base accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_base_dev tizen_6.0_base tizen_6.0_base_hotfix tizen_6.5_base tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/6.0/base/20201029.110827 accepted/tizen/6.0/base/hotfix/20201102.093354 accepted/tizen/6.5/base/20211028.060141 accepted/tizen/7.0/base/20221116.025928 accepted/tizen/7.0/base/hotfix/20221116.055337 accepted/tizen/base/20200426.213229 accepted/tizen/base/20221115.103804 accepted/tizen/base/dev/20230602.080851 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_6.5_base/20211028.134101 submit/tizen_base/20200421.102835 submit/tizen_base/20200424.085441 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
authorSlava Barinov <v.barinov@samsung.com>
Tue, 31 Mar 2020 07:32:08 +0000 (10:32 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 16 Apr 2020 15:36:18 +0000 (15:36 +0000)
This prevents conflict with libelf >=0.160

Change-Id: Iccaa210bd745897b846b83a40147b8ab89e9191f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/libelf0.spec

index decc577..e005ec3 100644 (file)
@@ -64,6 +64,8 @@ make install instroot=%{buildroot}
 rm -f %{buildroot}%{_includedir}/*.h
 # remove unneeded *.la and *.a files
 rm -f %{buildroot}%{_libdir}/*.la
+# rename pc file to prevent conflict with libelf 0.178
+mv %{buildroot}%{_libdir}/pkgconfig/libelf.pc %{buildroot}%{_libdir}/pkgconfig/libelf0.pc
 
 %post -p /sbin/ldconfig
 
@@ -80,7 +82,7 @@ rm -f %{buildroot}%{_libdir}/*.la
 %defattr(-,root,root)
 %{_libdir}/libelf.so
 %{_libdir}/libelf.a
-%{_libdir}/pkgconfig/libelf.pc
+%{_libdir}/pkgconfig/libelf0.pc
 %{_includedir}/libelf
 
 %{?asan: