Changes between Version 1 and Version 2 of debbuild-doc
- Timestamp:
- 06/07/15 12:11:49 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
debbuild-doc
v1 v2 31 31 32 32 debbuild --showpkgs file.spec 33 34 debbuild -i foo.sdeb 33 35 }}} 34 36 … … 58 60 If you see something you don't like, mail me. Send a patch if you feel inspired. I don't promise I'll do anything other than say "Yup, that's broken" or "Got your message". 59 61 62 The source package container I invented for debbuild, the .sdeb file, can be "installed" with debbuild -i exactly the same way as a .src.rpm can be installed with "rpm -i". Both will unpack the file and place the source(s) and .spec file in the appropriate places in %_topdir/SOURCES and %_topdir/SPECS respectively. 63 60 64 ---- 61 65 … … 82 86 === [=#ba] !BuildArch or !BuildArchitecture === 83 87 84 rpm takes the last BuildArch entry it finds in the .spec file, whatever it is, and runs with that for all packages. Debian's repository system is fairly heavily designed around the assumption that a single source package may generate small binary (executable) packages for each arch, and large binary arch-all packages containing shared data.88 rpm takes the last !BuildArch entry it finds in the .spec file, whatever it is, and runs with that for all packages. Debian's repository system is fairly heavily designed around the assumption that a single source package may generate small binary (executable) packages for each arch, and large binary arch-all packages containing shared data. 85 89 86 90 debbuild allows this by using the architecture specified by (in order of preference): 87 91 88 92 * Host architecture 89 * BuildArch specified in .spec file preamble90 * "Last specified" BuildArch for packages with several subpackages91 * BuildArch specified in the %package section for that subpackage93 * !BuildArch specified in .spec file preamble 94 * "Last specified" !BuildArch for packages with several subpackages 95 * !BuildArch specified in the %package section for that subpackage 92 96 93 97 === [=#showpkg] Finding out what packages should be built (--showpkgs) ===