2009-07-17 15:42:23 +02:00
|
|
|
SUSE specific platform changes.
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2011-12-11 22:58:21 +01:00
|
|
|
Index: platform.in
|
|
|
|
===================================================================
|
|
|
|
--- platform.in.orig 2011-12-11 09:27:18.000000000 +0100
|
|
|
|
+++ platform.in 2011-12-11 09:29:47.564232873 +0100
|
2009-08-28 15:54:03 +02:00
|
|
|
@@ -21,7 +21,7 @@
|
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
|
2009-08-28 15:54:03 +02:00
|
|
|
%_datarootdir @datarootdir@
|
2006-12-19 00:17:44 +01:00
|
|
|
%_datadir @datadir@
|
|
|
|
%_sysconfdir @sysconfdir@
|
2009-08-28 15:54:03 +02:00
|
|
|
@@ -33,7 +33,7 @@
|
2006-12-19 00:17:44 +01:00
|
|
|
%_oldincludedir @oldincludedir@
|
|
|
|
%_infodir @infodir@
|
|
|
|
%_mandir @mandir@
|
2009-08-28 15:54:03 +02:00
|
|
|
-%_initddir %{_sysconfdir}/rc.d/init.d
|
|
|
|
+%_initddir %{_sysconfdir}/init.d
|
|
|
|
# Deprecated misspelling, present for backwards compatibility.
|
|
|
|
%_initrddir %{_initddir}
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2011-05-16 18:07:44 +02:00
|
|
|
@@ -143,3 +143,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@#
|
2012-04-20 17:01:48 +02:00
|
|
|
+@SuSE@%__id_u %{__id} -u
|
|
|
|
+@SuSE@%__chown_Rhf %{__chown} -Rhf
|
|
|
|
+@SuSE@%__chgrp_Rhf %{__chgrp} -Rhf
|
2006-12-19 00:17:44 +01:00
|
|
|
+@SuSE@%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
|
2009-08-28 15:54:03 +02:00
|
|
|
+@SuSE@%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root
|
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@}
|