diff --git a/xorg-x11-libs.changes b/xorg-x11-libs.changes index 3455269..e8d9768 100644 --- a/xorg-x11-libs.changes +++ b/xorg-x11-libs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 16 11:25:52 CET 2012 - sndirsch@suse.de + +- provide fake libxcb-atom.so.1 (bnc #741465) for older openSUSE + releases since it apparently vanished with xcb-util 0.3.8 :-( + ------------------------------------------------------------------- Sat Jan 7 18:02:53 UTC 2012 - chris@computersalat.de diff --git a/xorg-x11-libs.spec b/xorg-x11-libs.spec index 310f5a1..2bd9041 100644 --- a/xorg-x11-libs.spec +++ b/xorg-x11-libs.spec @@ -23,9 +23,11 @@ BuildRequires: fdupes fontconfig-devel freetype2-devel gperf libXi6-devel libex %ifarch ppc64 s390x x86_64 Provides: libXaw.so.8()(64bit) libXaw.so.7()(64bit) libXaw.so.6()(64bit) Provides: libXaw8.so.8()(64bit) libXaw7.so.7()(64bit) libXaw6.so.6()(64bit) +Provides: libxcb-atom.so.1()(64bit) %else Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6 Provides: libXaw8.so.8 libXaw7.so.7 libXaw6.so.6 +Provides: libxcb-atom.so.1 %endif # bug437293 %ifarch ppc64 @@ -144,6 +146,14 @@ 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 +%if %suse_version > 1110 +%{__rm} -f %{buildroot}%{_libdir}/*.la +%endif %fdupes -s $RPM_BUILD_ROOT/%_mandir %clean