mdadm.spec

来自「coldfire MCF5445X基于unix平台的BSP」· SPEC 代码 · 共 38 行

SPEC
38
字号
%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 + =
减小字号Ctrl + -
显示快捷键?