Add no auto requires to examples to fix build break 28/198928/1
authorJaechul Lee <jc815.lee@samsung.com>
Wed, 21 Mar 2018 06:42:17 +0000 (15:42 +0900)
committerTomasz Swierczek <t.swierczek@samsung.com>
Wed, 30 Jan 2019 11:41:36 +0000 (12:41 +0100)
[Problem]
- Build failed due to prebuilt example binary requires lower version of
  libc automatically
[Cause & Measure]
- Exclude auto requires not to require lower version of libc from
  cert-svc rpm
[Developer] jc815.lee

Change-Id: Ie2544b847317d865e904e80c4382677bc4dee428
Signed-off-by: Jaechul Lee <jc815.lee@samsung.com>
packaging/cert-svc.spec

index 41af415..29d3013 100644 (file)
@@ -30,6 +30,10 @@ Requires: ca-certificates
 Requires: ca-certificates-tizen
 Requires: security-config
 Requires: openssl
+# to prevent auto require lower version of libc including examples/resource/player/bin/player
+# https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering?rd=PackagingDrafts/AutoProvidesAndRequiresFiltering
+%global __requires_exclude_from examples/
+
 
 %global user_name security_fw
 %global group_name security_fw