some small fixes for 3.13 spec file

ken_yap at programmer.net ken_yap at programmer.net
Sun Oct 2 22:40:07 EDT 2011


I wasn't sure who the author of the spec file in the 3.12 RPM was so I'm posting here.

I've successfully built 3.13 RPMs for EPEL-5 (i386 and x86_64) using mock< http://fedoraproject.org/wiki/Projects/Mock>. However mock showed up some missing dependencies. I needed to add:

intltool gettext

to BuildRequires.

I also needed to add these two lines to %files to avoid rpmbuild flagging unpackaged files:

/usr/share/locale/*/LC_MESSAGES/openconnect.mo
%doc /usr/share/openconnect

Also as an aside, configure doesn't handle zlib not having a pkgconfig file so I worked around it with

export ZLIB_CFLAGS=-O ZLIB_LIBS=-lz

before the %configure, but I think perhaps configure should be fixed to handle zlib.

Thanks for openconnect, it's just what I needed at work.

Ken



More information about the openconnect-devel mailing list