📄 mdadm.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : A tool for managing Soft RAID under LinuxName : mdadmVersion : 2.3.1Release : 1License : GPLVendor : FreescalePackager : Michael BarkowskiGroup : System Environment/BaseSource : %{name}-%{version}.tar.gzBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup %Build# the CXFLAGS clause is to fix gcc-3.3.2 era compilers. Not the compilers# fault, but the package includes byteorder stuff in a weird way that# means this flag which should be set is not.# removed -Werror from CWFLAGS as gcc-4.1.1 will throw up warningsmake CC=gcc CXFLAGS=-D__BYTEORDER_HAS_U64__ CWFLAGS="-Wall -Wstrict-prototypes"%Installrm -rf $RPM_BUILD_ROOTmake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -