2009-07-17 15:42:23 +02:00
|
|
|
SUSE specific platform changes.
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2006-12-19 00:17:44 +01:00
|
|
|
--- ./platform.in.orig 2005-01-26 03:39:54.000000000 +0000
|
|
|
|
+++ ./platform.in 2006-02-17 14:18:30.000000000 +0000
|
|
|
|
@@ -17,18 +17,18 @@
|
2006-12-19 00:17:44 +01:00
|
|
|
%_exec_prefix @exec_prefix@
|
|
|
|
%_bindir @bindir@
|
|
|
|
%_sbindir @sbindir@
|
|
|
|
-%_libexecdir @libexecdir@
|
2009-07-17 15:42:23 +02:00
|
|
|
+%_libexecdir %{_exec_prefix}/lib
|
2006-12-19 00:17:44 +01:00
|
|
|
%_datadir @datadir@
|
|
|
|
%_sysconfdir @sysconfdir@
|
2006-12-19 00:17:44 +01:00
|
|
|
%_sharedstatedir @sharedstatedir@
|
|
|
|
%_localstatedir @localstatedir@
|
|
|
|
%_lib @LIB@
|
|
|
|
-%_libdir @LIBDIR@
|
|
|
|
+%_libdir %{_exec_prefix}/%{_lib}
|
|
|
|
%_includedir @includedir@
|
2006-12-19 00:17:44 +01:00
|
|
|
%_oldincludedir @oldincludedir@
|
|
|
|
%_infodir @infodir@
|
|
|
|
%_mandir @mandir@
|
2006-12-19 00:17:44 +01:00
|
|
|
-%_initrddir %{_sysconfdir}/rc.d/init.d
|
|
|
|
+%_initrddir %{_sysconfdir}/init.d
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2006-12-19 00:17:44 +01:00
|
|
|
%_defaultdocdir @DEFAULTDOCDIR@
|
|
|
|
|
|
|
|
@@ -148,3 +148,21 @@
|
2006-12-19 00:17:44 +01:00
|
|
|
@mandrake@%_gamesdir games
|
|
|
|
@mandrake@%_gamesbindir %{_prefix}/%{_gamesdir}
|
|
|
|
@mandrake@%_gamesdatadir %{_datadir}/%{_gamesdir}
|
|
|
|
+@SuSE@#---------------------------------------------------------------------
|
|
|
|
+@SuSE@# Expanded at end of %prep
|
|
|
|
+@SuSE@#
|
|
|
|
+@SuSE@%__id_u @__ID_U@
|
|
|
|
+@SuSE@%__chown_Rhf @__CHOWN_RHF@
|
|
|
|
+@SuSE@%__chgrp_Rhf @__CHGRP_RHF@
|
|
|
|
+@SuSE@%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
|
2006-12-19 00:17:44 +01:00
|
|
|
+@SuSE@%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} @ROOT_GROUP@
|
2006-12-19 00:17:44 +01:00
|
|
|
+@SuSE@%_fixperms %{__chmod} -Rf @FIXPERMS@
|
|
|
|
+@SuSE@
|
|
|
|
+@SuSE@#---------------------------------------------------------------------
|
|
|
|
+@SuSE@# Expanded at start of %build
|
|
|
|
+@SuSE@#
|
|
|
|
+@SuSE@%__spec_build_pre %{___build_pre}\
|
|
|
|
+@SuSE@%{?buildroot: %__rm -rf "$RPM_BUILD_ROOT"\
|
|
|
|
+@SuSE@ %__mkdir_p `dirname "$RPM_BUILD_ROOT"`\
|
|
|
|
+@SuSE@ %__mkdir "$RPM_BUILD_ROOT"\
|
|
|
|
+@SuSE@}
|