📄 bash.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : bash - GNU Bourne-Again SHellName : bashVersion : 2.05bRelease : 1License : GPLVendor : FreescalePackager : Stuart HughesGroup : System Environment/ShellsSource : bash-2.05b.tar.gzPatch0 : bash-2.05b-2.patchPatch1 : bash-2.05b-gcc-3.4-malloc.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %patch0 -p1%patch1%Buildac_cv_func_setvbuf_reversed=no bash_cv_have_mbstate_t=yes \ac_cv_lib_intl_bindtextdomain=no \CC_FOR_BUILD="$BUILDCC" \./configure --prefix=%{_prefix} --bindir=/bin --host=$CFGHOST --build=%{_build} --mandir=%{_mandir}make -j1%Installrm -rf $RPM_BUILD_ROOTmake -j1 install DESTDIR=$RPM_BUILD_ROOT/%{pfx}ln -s bash $RPM_BUILD_ROOT/%{pfx}/bin/sh## Sometimes we want bash present but not installed as the default shell#if [ "$PKG_BASH_WANT_NO_SH_SYMLINK" = "y" ]then rm -f $RPM_BUILD_ROOT/%{pfx}/bin/shfi%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -