- Timestamp:
- 04/17/07 16:35:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r88 r89 1349 1349 debbuild --rebuild file.{src.rpm|sdeb} 1350 1350 1351 debbuild --showpkgs 1352 1351 1353 =head1 DESCRIPTION 1352 1354 … … 1414 1416 =back 1415 1417 1418 =head1 ERRATA 1419 1420 debbuild deliberately does a few things differently from rpm. 1421 1422 =head2 BuildArch or BuildArchitecture 1423 1424 rpm takes the last BuildArch entry it finds in the .spec file, whatever it is, and runs with 1425 that for all packages. Debian's repository system is fairly heavily designed around the 1426 assumption that a single source package may generate small binary (executable) packages 1427 for each arch, and large binary arch-all packages containing shared data. 1428 1429 debbuild allows this by using the architecture specified by (in order of preference): 1430 1431 =over 4 1432 1433 =item * Host architecture 1434 1435 =item * BuildArch specified in .spec file preamble 1436 1437 =item * "Last specified" BuildArch for packages with several subpackages 1438 1439 =item * BuildArch specified in the %package section for that subpackage 1440 1441 =back 1442 1443 =head2 Finding out what packages should be built (--showpkgs) 1444 1445 rpmbuild does not include any convenient method I know of to list the packages a spec file 1446 will produce. Since I needed this ability for another tool, I added it. 1447 1448 It requires the .spec file for the package, and produces a list of full package filenames 1449 (without path data) that would be generated by one of --rebuild, -ta, -tb, -ba, or -bb. 1450 This includes the .sdeb source package. 1451 1416 1452 =head1 AUTHOR 1417 1453
Note:
See TracChangeset
for help on using the changeset viewer.