[Rpm-maint] [rpm-software-management/rpm] Add zstd compressed payload support to RPM (from @n3npq in #256) (#295)
Neal Gompa (ニール・ゴンパ)
notifications at github.com
Mon Jul 31 11:21:23 UTC 2017
Conan-Kudo commented on this pull request.
> @@ -348,6 +348,12 @@ static char *getIOFlags(Package pkg)
compr = "lzma";
(void) rpmlibNeedsFeature(pkg, "PayloadIsLzma", "4.4.6-1");
#endif
+#if HAVE_ZSTD_H
+ } else if (rstreq(s+1, "zstdio")) {
+ compr = "zstd";
+ /* Add prereq on rpm version that understands zstd payloads */
+ (void) rpmlibNeedsFeature(pkg, "PayloadIsZstd", "5.4.18-1");
This is not unusual. We did the same thing for the Xz payload. It's not worth the extra breakage to do that.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/295#discussion_r130327847
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170731/22779127/attachment-0001.html>
More information about the Rpm-maint
mailing list