diff --git a/xorg-x11-libs.changes b/xorg-x11-libs.changes index e8d9768..02017bf 100644 --- a/xorg-x11-libs.changes +++ b/xorg-x11-libs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 19 10:54:03 UTC 2012 - sndirsch@suse.com + +- create the full set of fake libxcb-* libs being replaced now + by libxcb-util (reported by email) + ------------------------------------------------------------------- Mon Jan 16 11:25:52 CET 2012 - sndirsch@suse.de diff --git a/xorg-x11-libs.spec b/xorg-x11-libs.spec index 2bd9041..459a6c1 100644 --- a/xorg-x11-libs.spec +++ b/xorg-x11-libs.spec @@ -146,11 +146,16 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la # for compatibility reasons ln -s libXaw7.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw8.so.8 ln -s libXaw.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw.so.8 -# create fake libxcb-atom.so.1 (bnc #741465) -> xcb-atom.c -gcc -Wall -ansi -pedantic -c xcb-atom.c -fPIC -gcc -shared -Wl,-soname,libxcb-atom.so.1 \ - -o $RPM_BUILD_ROOT%{_libdir}/libxcb-atom.so.1 xcb-atom.o +# create fake libxcb-* libs being replaced now by libxcb-util (bnc #741465 +# and reported by others) +for ext_version in atom:1 aux:0 event:1 icccm:1 image:0 keysyms:1 property:1 render-util:0 reply:1; do + ext=${ext_version%:*} + version=${ext_version#*:} + > xcb-${ext}.c + gcc -Wall -ansi -pedantic -c xcb-${ext}.c -fPIC + gcc -shared -Wl,-soname,libxcb-${ext}so.${version} \ + -o $RPM_BUILD_ROOT%{_libdir}/libxcb-${ext}.so.${version} xcb-${ext}.o +done %if %suse_version > 1110 %{__rm} -f %{buildroot}%{_libdir}/*.la %endif