2009-07-17 15:42:23 +02:00
|
|
|
SUSE specific platform changes.
|
2006-12-19 00:17:44 +01:00
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
--- ./platform.in.orig 2012-03-20 08:07:25.000000000 +0000
|
|
|
|
+++ ./platform.in 2012-06-01 12:42:30.000000000 +0000
|
|
|
|
@@ -29,7 +29,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@
|
2012-08-28 15:31:44 +02:00
|
|
|
@@ -41,7 +41,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
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
@@ -78,3 +78,21 @@
|
|
|
|
@apple@#
|
|
|
|
@apple@%_use_internal_dependency_generator 0
|
|
|
|
@apple@%__so dylib
|
|
|
|
+@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
|
|
|
|
+@suse@%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root
|
|
|
|
+@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@}
|