summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorxuhy <huayong.xu@samsung.com>2023-11-16 17:39:20 +0800
committerxuhy <huayong.xu@samsung.com>2023-11-16 17:39:20 +0800
commit76ea0b5d4a1b8180f2552c2729d84388a77beecb (patch)
tree9a2b028c24c205b075d9386acd7a62a2eb2271a7 /lib
parentc30d127e8780dc678168ee121b9f2eeb1a8aaafa (diff)
downloadlibrpm-tizen-76ea0b5d4a1b8180f2552c2729d84388a77beecb.tar.gz
librpm-tizen-76ea0b5d4a1b8180f2552c2729d84388a77beecb.tar.bz2
librpm-tizen-76ea0b5d4a1b8180f2552c2729d84388a77beecb.zip
Add librpm-tizen.spec file & Debian packaging.HEADmasterdevel
The following issues are fixed: 1. Prevent execution of arbitrary scripts 2. Enable dash(-) in spec file. 3. Ignore bad expressions in %if conditionals. 4. Ignore unknown tags. 5. Ignore error macro. Change-Id: Id5b7b47c1a78de364ef0d513023fbe9ccc773a87 Signed-off-by: xuhy <huayong.xu@samsung.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/backend/dbconfig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backend/dbconfig.c b/lib/backend/dbconfig.c
index fe7c01e81..b9773fe91 100644
--- a/lib/backend/dbconfig.c
+++ b/lib/backend/dbconfig.c
@@ -71,8 +71,10 @@ static const struct poptOption rdbOptions[] = {
NULL, NULL },
{ "lockdbfd", 0,POPT_ARG_NONE, &staticdbi.dbi_lockdbfd, 0,
NULL, NULL },
+ #ifndef WITH_EXTERNAL_DB
{ "nofsync", 0,POPT_BIT_SET, &staticdbi.dbi_oflags, DB_NOFSYNC,
NULL, NULL },
+#endif
POPT_TABLEEND
};