Workaround libopenssl-devel/libopenssl1.1-devel conflict 41/208041/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.011444 accepted/tizen/5.5/unified/mobile/hotfix/20201027.074050 accepted/tizen/unified/20190730.224334 submit/tizen/20190730.102707 submit/tizen_5.5/20191031.000007 submit/tizen_5.5_mobile_hotfix/20201026.185107 tizen_5.5.m2_release
authorDariusz Michaluk <d.michaluk@samsung.com>
Mon, 17 Jun 2019 12:42:03 +0000 (14:42 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Mon, 17 Jun 2019 12:56:19 +0000 (14:56 +0200)
If some package use liboauth and libopenssl1.1-devel,
libopenssl-devel is downloaded by GBS also, this cause conflict.
Requires.private field is a list of private packages required by this package,
but not exposed to applications. We can ommit this field.

Change-Id: I9e8bac910601cda5362005be925ed2d83e8776cc

packaging/liboauth.spec

index b3d0ef8..a62cd4a 100644 (file)
@@ -34,6 +34,7 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 
 %make_install
+sed -i 's/Requires.private/#Requires.private/g' %{buildroot}%{_libdir}/pkgconfig/oauth.pc
 
 %post -n liboauth -p /sbin/ldconfig
 %post -n liboauth-devel -p /sbin/ldconfig