diff --git a/libmowgli2.changes b/libmowgli2.changes index 923bf34..218dba3 100644 --- a/libmowgli2.changes +++ b/libmowgli2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 23 12:13:51 UTC 2014 - jengelh@inai.de + +- Enable openssl support +- Set symbol versions on the library because the API did change + upwards-compatibly + ------------------------------------------------------------------- Sun Jul 20 11:22:14 UTC 2014 - jengelh@inai.de diff --git a/libmowgli2.spec b/libmowgli2.spec index 9227ad6..8a92b91 100644 --- a/libmowgli2.spec +++ b/libmowgli2.spec @@ -31,6 +31,7 @@ Url: http://atheme.org/projects/libmowgli.html Source: libmowgli-%version.tar.xz Patch1: platform.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libopenssl-devel BuildRequires: pkg-config BuildRequires: xz @@ -85,7 +86,8 @@ if [ ! -e configure ]; then fi; %configure perl -i -pe 's{2\.0\.0}{%version}' *.pc -make %{?_smp_mflags} +echo 'G185 { global: *; };' >mowgli2.sym +make %{?_smp_mflags} LDFLAGS="-Wl,--version-script=$PWD/mowgli2.sym" %install make install DESTDIR="%buildroot"