From a6f64803ce23513ec2a77d208252fa628de49e25 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Dec 02 2005 18:31:21 +0000 Subject: - Use the default value from configure.ac for --with-xfile-search-path except with %{_datadir} instead of $(libdir), so Xt can search for app-default files as usual. - Move the --with-xfile-search-path outside the with_static condition. --- diff --git a/libXt.spec b/libXt.spec index 7a4fc62..ba60cf6 100644 --- a/libXt.spec +++ b/libXt.spec @@ -1,7 +1,7 @@ Summary: X.Org X11 libXt runtime library Name: libXt Version: 0.99.2 -Release: 2 +Release: 3 License: MIT/X11 Group: System Environment/Libraries URL: http://www.x.org @@ -50,8 +50,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure \ %if ! %{with_static} --disable-static \ - --with-xfile-search-path=%{_datadir}/X11/app-defaults %endif + --with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S" + make %install @@ -124,6 +125,12 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3x/*.3x* %changelog +* Fri Dec 2 2005 Kristian Høgsberg 0.99.2-3 +- Use the default value from configure.ac for --with-xfile-search-path + except with %%{_datadir} instead of $(libdir), so Xt can search for + app-default files as usual. +- Move the --with-xfile-search-path outside the with_static condition. + * Tue Nov 29 2005 Mike A. Harris 0.99.2-2 - Invoke ./configure --with-xfile-search-path=%%{_datadir}/X11/app-defaults to make sure Xt is looking in the right place for app-defaults files.