41c257a762
- add libtool as explicit buildrequire - do not hardcode brp check list, but call everything below /usr/lib/rpm/brp-suse.d - and move our own brp scripts to brp-check-suse OBS-URL: https://build.opensuse.org/request/show/96284 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=161
47 lines
1.6 KiB
Diff
47 lines
1.6 KiB
Diff
SUSE specific platform changes.
|
|
|
|
Index: platform.in
|
|
===================================================================
|
|
--- platform.in.orig 2011-12-11 09:27:18.000000000 +0100
|
|
+++ platform.in 2011-12-11 09:29:47.564232873 +0100
|
|
@@ -21,7 +21,7 @@
|
|
%_exec_prefix @exec_prefix@
|
|
%_bindir @bindir@
|
|
%_sbindir @sbindir@
|
|
-%_libexecdir @libexecdir@
|
|
+%_libexecdir %{_exec_prefix}/lib
|
|
%_datarootdir @datarootdir@
|
|
%_datadir @datadir@
|
|
%_sysconfdir @sysconfdir@
|
|
@@ -33,7 +33,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}
|
|
|
|
@@ -143,3 +143,21 @@
|
|
@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
|
|
+@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@}
|