Changes between Version 20 and Version 21 of RpmHowToPackagers
- Timestamp:
- Sep 10, 2011, 2:48:07 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RpmHowToPackagers
v20 v21 40 40 41 41 If you need to extract more source files, use the ''-a'' parameter. 42 43 {{{ 44 %prep 45 # -D Do not delete the directory before unpacking. 46 # -T Disable the automatic unpacking of the archives. 47 %setup -q -n %{name}-%{srcver} %{?with_int_bdb:-a 1} -a 2 48 }}} 49 50 If your files are packed in the root directory of the zip file, use -c to tell rpmbuild to create a new directory using %{name}-%{version} scheme and to put files there (preserving zip directory layout): 51 52 {{{ 53 %prep 54 %setup -q -c 55 }}} 42 56 43 57 To apply first patch add ''patch0 -p1 -b .my_suffix''; the second will use ''patch1...'' and so on.