SHA256
1
0
forked from pool/libmowgli2

Accepting request 242782 from devel:libraries:c_c++

- Enable openssl support
- Set symbol versions on the library because the API did change
  upwards-compatibly

OBS-URL: https://build.opensuse.org/request/show/242782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmowgli2?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2014-07-29 14:48:32 +00:00 committed by Git OBS Bridge
commit c64da1c774
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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"