Michael Schröder
dc6592c036
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=507
14 lines
483 B
Diff
14 lines
483 B
Diff
Don't let rpm complain about a missing /etc/magic.mgc file
|
|
|
|
--- ./build/rpmfc.c.orig 2019-10-02 11:41:15.063357579 +0000
|
|
+++ ./build/rpmfc.c 2019-10-02 11:41:42.583298884 +0000
|
|
@@ -1065,7 +1065,7 @@ static int initAttrs(rpmfc fc)
|
|
|
|
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode)
|
|
{
|
|
- int msflags = MAGIC_CHECK | MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
|
+ int msflags = MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
|
int nerrors = 0;
|
|
rpmRC rc = RPMRC_FAIL;
|
|
|