From 5d1381d2b5fb2115ace782dfff9f5e7fbebc2f1b64c78e2191af51cd886a1010 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 23 Jul 2014 12:15:02 +0000 Subject: [PATCH] openssl & symvers OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmowgli2?expand=0&rev=14 --- libmowgli2.changes | 7 +++++++ libmowgli2.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) 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"