2011-05-16 18:07:44 +02:00
|
|
|
Don't let rpm complain about a missing /etc/magic.mgc file
|
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
--- ./build/rpmfc.c.orig 2012-06-01 13:42:06.000000000 +0000
|
|
|
|
+++ ./build/rpmfc.c 2012-06-01 13:42:30.000000000 +0000
|
|
|
|
@@ -900,7 +900,7 @@ static int initAttrs(rpmfc fc)
|
|
|
|
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode)
|
2011-05-16 18:07:44 +02:00
|
|
|
{
|
|
|
|
ARGV_t fcav = NULL;
|
|
|
|
- int msflags = MAGIC_CHECK | MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
|
|
|
+ int msflags = MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
|
|
|
magic_t ms = NULL;
|
|
|
|
rpmRC rc = RPMRC_FAIL;
|
|
|
|
|