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..751fc18 100644 --- a/libxkbcommon.spec +++ b/libxkbcommon.spec @@ -24,9 +24,9 @@ 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 +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.62 #git#BuildRequires: automake @@ -116,7 +116,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";