symbol versions on top
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=15
This commit is contained in:
parent
ab963da143
commit
c41255b08c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 24 15:46:08 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add symbol versioning to xkbcommon
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 21 12:28:41 UTC 2014 - hrvoje.senjan@gmail.com
|
Wed May 21 12:28:41 UTC 2014 - hrvoje.senjan@gmail.com
|
||||||
|
|
||||||
|
@ -24,8 +24,7 @@ License: MIT
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://xkbcommon.org/
|
Url: http://xkbcommon.org/
|
||||||
|
|
||||||
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbcommon
|
#Git-Clone: git://github.com/xkbcommon/libxkbcommon
|
||||||
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
|
|
||||||
Source: http://xkbcommon.org/download/%name-%version.tar.xz
|
Source: http://xkbcommon.org/download/%name-%version.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#git#BuildRequires: autoconf >= 2.62
|
#git#BuildRequires: autoconf >= 2.62
|
||||||
@ -116,7 +115,10 @@ extra_opts=--disable-x11
|
|||||||
%endif
|
%endif
|
||||||
# Ensure people will use pkgconfig to locate headers.
|
# Ensure people will use pkgconfig to locate headers.
|
||||||
%configure --disable-static --includedir="%_includedir/pkg/%name" $extra_opts
|
%configure --disable-static --includedir="%_includedir/pkg/%name" $extra_opts
|
||||||
make %{?_smp_mflags} V=1;
|
# libxkbcommon has added symbols between 0.2.0..0.4.2 without maintenance;
|
||||||
|
# force some versioning.
|
||||||
|
echo "V_%version { global: *; };" >xkb.sym
|
||||||
|
make %{?_smp_mflags} V=1 LDFLAGS="-Wl,--version-script=$PWD/xkb.sym"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot";
|
make install DESTDIR="%buildroot";
|
||||||
|
Loading…
Reference in New Issue
Block a user