libXext build-depends on {XLbx,lbx}*.h. Index: SPECS/xorg-x11-proto-devel.spec =================================================================== --- SPECS.orig/xorg-x11-proto-devel.spec +++ SPECS/xorg-x11-proto-devel.spec @@ -10,7 +10,7 @@ Summary: X.Org X11 Protocol headers Name: xorg-x11-proto-devel Version: 7.1 -Release: 9%{?dist} +Release: 9.fa1%{?dist} License: The Open Group License Group: Development/System URL: http://www.x.org @@ -90,9 +90,11 @@ for dir in $(ls -1) ; do popd done +%if 0 # NOTE: LBX has been discontinued upstream, however xextproto still installs # the headers for it. Probably an upstream oversight, so we remove them here. rm -f $RPM_BUILD_ROOT%{_includedir}/X11/extensions/{XLbx,lbx}*.h +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -151,9 +153,7 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/X11/extensions/XKBproto.h %{_includedir}/X11/extensions/XKBsrv.h %{_includedir}/X11/extensions/XKBstr.h -%if 0 %{_includedir}/X11/extensions/XLbx.h -%endif %{_includedir}/X11/extensions/XResproto.h %{_includedir}/X11/extensions/XShm.h %{_includedir}/X11/extensions/XTest.h @@ -184,7 +184,6 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/X11/extensions/fontcache.h %{_includedir}/X11/extensions/fontcacheP.h %{_includedir}/X11/extensions/fontcachstr.h -%if 0 %{_includedir}/X11/extensions/lbxbuf.h %{_includedir}/X11/extensions/lbxbufstr.h %{_includedir}/X11/extensions/lbxdeltastr.h @@ -192,7 +191,6 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/X11/extensions/lbxopts.h %{_includedir}/X11/extensions/lbxstr.h %{_includedir}/X11/extensions/lbxzlib.h -%endif %{_includedir}/X11/extensions/mitmiscstr.h %{_includedir}/X11/extensions/multibuf.h %{_includedir}/X11/extensions/multibufst.h