The minizip code is totally unsupported by zlib upstream, I tried to submit some pull requests - but per README file it was my mistake. I tried to contact original authors of minizip as a last resort today, and I'm waiting for reply -> but most probably we should simply stop building that code in zlib.spec and provide minizip.spec separately (built from one of the existing forks, or simply provide new one that is 1:1 compatible with zlib's version - because that's what Fedora packages expect).
First step: https://src.fedoraproject.org/rpms/zlib/c/0fda98744b472e55c5e500c5a8d08b7321d73bc3?branch=master
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
Second step is done: Rename 'minizip' -> 'minizip-compat' Rename 'minizip-devel' -> 'minizip-devel-compat' New pkg 'minizip' I tried to port two packages, and it turns out to be not that trivial: https://github.com/psi-im/psi/issues/388 https://github.com/assimp/assimp/issues/2121
Fedora devel thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YSPZUBTKN6T5TTUZW5NOWUW7VBIRCOZY/
Even though this is older issue, close this instead of the other duplicate to avoid additional bugzilla mail traffic. *** This bug has been marked as a duplicate of bug 1632208 ***