Michael Schröder
9f23915be5
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=336
45 lines
1.5 KiB
Diff
45 lines
1.5 KiB
Diff
SUSE specific platform changes.
|
|
|
|
--- ./platform.in.orig 2014-09-05 11:49:01.000000000 +0000
|
|
+++ ./platform.in 2014-09-08 16:43:35.250660580 +0000
|
|
@@ -29,7 +29,7 @@
|
|
%_exec_prefix @exec_prefix@
|
|
%_bindir @bindir@
|
|
%_sbindir @sbindir@
|
|
-%_libexecdir @libexecdir@
|
|
+%_libexecdir %{_exec_prefix}/lib
|
|
%_datarootdir @datarootdir@
|
|
%_datadir @datadir@
|
|
%_sysconfdir @sysconfdir@
|
|
@@ -41,7 +41,7 @@
|
|
%_oldincludedir @oldincludedir@
|
|
%_infodir @infodir@
|
|
%_mandir @mandir@
|
|
-%_initddir %{_sysconfdir}/rc.d/init.d
|
|
+%_initddir %{_sysconfdir}/init.d
|
|
# Deprecated misspelling, present for backwards compatibility.
|
|
%_initrddir %{_initddir}
|
|
%_rundir @RUNDIR@
|
|
@@ -79,3 +79,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@}
|