Accepting request 100225 from X11:XOrg
- provide fake libxcb-atom.so.1 (bnc #741465) for older openSUSE releases since it apparently vanished with xcb-util 0.3.8 :-( OBS-URL: https://build.opensuse.org/request/show/100225 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xorg-x11-libs?expand=0&rev=113
This commit is contained in:
commit
4e47255d66
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user