diff --git a/libxkbcommon.changes b/libxkbcommon.changes index e826bdf..1bd2395 100644 --- a/libxkbcommon.changes +++ b/libxkbcommon.changes @@ -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 diff --git a/libxkbcommon.spec b/libxkbcommon.spec index ed068aa..ebf7fb2 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -24,8 +24,7 @@ License: MIT Group: Development/Libraries/C and C++ Url: http://xkbcommon.org/ -#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbcommon -#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbcommon/ +#Git-Clone: git://github.com/xkbcommon/libxkbcommon Source: http://xkbcommon.org/download/%name-%version.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.62 @@ -116,7 +115,10 @@ extra_opts=--disable-x11 %endif # Ensure people will use pkgconfig to locate headers. %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 make install DESTDIR="%buildroot";