liblzma.a not found after xz-devel installation.
Fwiw, fedora's guidelines specifically recommand against shipping static libraries https://fedoraproject.org/wiki/Packaging/Guidelines#Packaging_Static_Libraries Is there some reason or justification for wanting to do otherwise here?
One of my small projects needs static libs. Will write -static spec for my own then.
Reopening. The kernel is now shipping xz-compressed modules. As a result, supermin needs to use a static xz in order to create a tiny, statically linked init which can open these module files. Kernel change: http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?id=8922622858e7af7cfca2ed2d68090140348cc6a8 supermin xz support: https://github.com/libguestfs/supermin/blob/master/src/init.c#L310 As the change to xz.spec seems very simple, I intend to go ahead and just do this unless anyone objects.
Created attachment 896417 [details] 0001-Add-a-static-subpackage-see-RHBZ-547011.patch Proposed patch to add a static subpackage (called xz-static).
Looks good. Feel free to apply.
After discussing this with Toshio and becoming a co-maintainer, I have pushed this to Rawhide only. There is now a subpackage called xz-static. http://koji.fedoraproject.org/koji/taskinfo?taskID=6856256