diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-11 15:09:49 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-02 16:44:15 -0800 |
commit | bdb8b8eb3700383d2ae2c2136fd4cd8a5bb00504 (patch) | |
tree | a13fd7bcf66aa1edd81205ea8289de08ae11472c /platform.in | |
parent | 17d40eaa34906a470bf610aa836c4426eac88c66 (diff) | |
download | librpm-tizen-bdb8b8eb3700383d2ae2c2136fd4cd8a5bb00504.tar.gz librpm-tizen-bdb8b8eb3700383d2ae2c2136fd4cd8a5bb00504.tar.bz2 librpm-tizen-bdb8b8eb3700383d2ae2c2136fd4cd8a5bb00504.zip |
platform changes
Diffstat (limited to 'platform.in')
-rw-r--r-- | platform.in | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/platform.in b/platform.in index 45c65a599..ac0d8359b 100644 --- a/platform.in +++ b/platform.in @@ -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} @@ -78,3 +78,21 @@ @apple@# @apple@%_use_internal_dependency_generator 0 @apple@%__so dylib +@Tizen@#--------------------------------------------------------------------- +@Tizen@# Expanded at end of %prep +@Tizen@# +@Tizen@%__id_u @__ID_U@ +@Tizen@%__chown_Rhf @__CHOWN_RHF@ +@Tizen@%__chgrp_Rhf @__CHGRP_RHF@ +@Tizen@%_fixowner [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root +@Tizen@%_fixgroup [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root +@Tizen@%_fixperms %{__chmod} -Rf @FIXPERMS@ +@Tizen@ +@Tizen@#--------------------------------------------------------------------- +@Tizen@# Expanded at start of %build +@Tizen@# +@Tizen@%__spec_build_pre %{___build_pre}\ +@Tizen@%{?buildroot: %__rm -rf "$RPM_BUILD_ROOT"\ +@Tizen@ %__mkdir_p `dirname "$RPM_BUILD_ROOT"`\ +@Tizen@ %__mkdir "$RPM_BUILD_ROOT"\ +@Tizen@} |