建立 RPM SPEC 檔案的小技巧
2010年1月14日
尚無評論
今天早上在 Decriptor's Blog 看到的一個技巧分享,以往再編輯 RPM SPEC 檔案時始終十分頭痛裏面的格式,現在當你再 SUSE Linux中透過 vi XXX.spec 時,便會自動提供一個完整的 SPEC 格式讓你使用,十分方便與實用的技巧 ^^
figaro@Figaro-NB:~> vi my-new.spec
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: my-new
Version:
Release:
Summary:
Group:
License:
Url:
PreReq:
Provides:
BuildRequires:
Source:
Patch:
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
........





最新迴響