diff options
author | Vít Ondruch <vondruch@redhat.com> | 2015-11-05 14:29:21 +0100 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2015-11-12 10:51:30 +0100 |
commit | 89d1dd0a7c63c7497d334e9f240ce7e36ca89434 (patch) | |
tree | 0a04c5e6fd27bfafe95f8569abf20a5dc1b64b62 /rpmio/rpmfileutil.c | |
parent | 9c36ca411332d2718eca339e867561c39abc256b (diff) | |
download | rpm-89d1dd0a7c63c7497d334e9f240ce7e36ca89434.tar.gz |
Add RubyGems support.
Allow to expand RubyGems .gem file using regular %setup macro and in
addition generate also associated .gemspec file.
Diffstat (limited to 'rpmio/rpmfileutil.c')
-rw-r--r-- | rpmio/rpmfileutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c index 40d619c29..67bffb927 100644 --- a/rpmio/rpmfileutil.c +++ b/rpmio/rpmfileutil.c @@ -370,6 +370,8 @@ int rpmFileIsCompressed(const char * file, rpmCompressedMagic * compressed) *compressed = COMPRESSED_7ZIP; } else if (rpmFileHasSuffix(file, ".lzma")) { *compressed = COMPRESSED_LZMA; + } else if (rpmFileHasSuffix(file, ".gem")) { + *compressed = COMPRESSED_GEM; } return rc; |