Hello community, here is the log from the commit of package xtexit checked in at Wed Aug 2 16:24:43 CEST 2006. -------- --- xtexit/xtexit.changes 2006-01-25 21:43:30.000000000 +0100 +++ xtexit/xtexit.changes 2006-08-02 15:12:26.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 2 15:09:30 CEST 2006 - werner@suse.de + +- Make it build with X11R7 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtexit.spec ++++++ --- /var/tmp/diff_new_pack.jrU03b/_old 2006-08-02 16:24:41.000000000 +0200 +++ /var/tmp/diff_new_pack.jrU03b/_new 2006-08-02 16:24:41.000000000 +0200 @@ -1,11 +1,11 @@ # # spec file for package xtexit (Version 0.42) # -# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -17,12 +17,20 @@ Requires: xaw3d Autoreqprov: on Version: 0.42 -Release: 1015 +Release: 1030 Summary: Prompt on exiting X Source: xtexit.tar.gz Patch0: xtexit.dif Patch1: xtexit-Imakefile_comments.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} +%if "%_exec_prefix" == "/usr/X11R6" +%define _x11data %{_exec_prefix}/lib/X11 +%define _appdefdir %{_x11data}/app-defaults +%else +%define _x11data %{_datadir}/X11 +%define _appdefdir %{_x11data}/app-defaults +%endif %description `xtexit` sends an request to all clients to shut down. If the @@ -56,7 +64,7 @@ make %install -make DESTDIR=$RPM_BUILD_ROOT install +make DESTDIR=%{buildroot} install %clean rm -rf $RPM_BUILD_ROOT @@ -64,10 +72,12 @@ %files %defattr(-,root,root) %doc README README.SuSE -/usr/X11R6/bin/xtexit -%config /usr/X11R6/lib/X11/app-defaults/XTexit +%{_bindir}/xtexit +%config %{_appdefdir}/XTexit %changelog -n xtexit +* Wed Aug 02 2006 - werner@suse.de +- Make it build with X11R7 * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon May 10 2004 - hmacht@suse.de ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...