platform: simplify %_configure_platform and %_target_libdir macros
This commit is contained in:
parent
82f7aeb283
commit
f355ac14b5
@ -38,7 +38,7 @@
|
||||
#
|
||||
%_configure_script ./configure
|
||||
%_configure_platform_noarch %{_host_cpu}-%{_vendor}-%{_target_os}%{_gnueabi}
|
||||
%_configure_platform %{expand:%%{?_configure_platform_%_target_cpu:%%_configure_platform_%_target_cpu}%%{!?_configure_platform_%_target_cpu:%%_target_platform}}
|
||||
%_configure_platform %{expand:%%{?_configure_platform_%_target_cpu}%%{!?_configure_platform_%_target_cpu:%%_target_platform}}
|
||||
%_configure_target --build=%{_configure_platform} --host=%{_configure_platform}
|
||||
%_configure_gettext --without-included-gettext
|
||||
%configure \
|
||||
@ -419,7 +419,7 @@
|
||||
@alt@
|
||||
@alt@# target libdir.
|
||||
@alt@%_target_libdir_noarch /usr/lib
|
||||
@alt@%_target_libdir %{expand:%%{?_target_libdir_%_target_cpu:%%_target_libdir_%_target_cpu}%%{!?_target_libdir_%_target_cpu:%%_libdir}}
|
||||
@alt@%_target_libdir %{expand:%%{?_target_libdir_%_target_cpu}%%{!?_target_libdir_%_target_cpu:%%_libdir}}
|
||||
@alt@
|
||||
@alt@# OBSOLETE update menu macros.
|
||||
@alt@%_update_menus_bin %_bindir/update-menus
|
||||
|
Loading…
Reference in New Issue
Block a user