Changeset 89


Ignore:
Timestamp:
04/17/07 16:35:29 (17 years ago)
Author:
kdeugau
Message:

/trunk

POD docco update

  • add --showpkgs to SYNOPSIS
  • add ERRATA section
  • note handling of BuildArch in ERRATA
  • note --showpkgs usage in ERRATA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r88 r89  
    13491349 debbuild --rebuild file.{src.rpm|sdeb}
    13501350
     1351 debbuild --showpkgs
     1352
    13511353=head1 DESCRIPTION
    13521354
     
    14141416=back
    14151417
     1418=head1 ERRATA
     1419
     1420debbuild deliberately does a few things differently from rpm.
     1421
     1422=head2 BuildArch or BuildArchitecture
     1423
     1424rpm takes the last BuildArch entry it finds in the .spec file, whatever it is, and runs with
     1425that for all packages.  Debian's repository system is fairly heavily designed around the
     1426assumption that a single source package may generate small binary (executable) packages
     1427for each arch, and large binary arch-all packages containing shared data.
     1428
     1429debbuild 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
     1445rpmbuild does not include any convenient method I know of to list the packages a spec file
     1446will produce.  Since I needed this ability for another tool, I added it.
     1447
     1448It 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. 
     1450This includes the .sdeb source package.
     1451
    14161452=head1 AUTHOR
    14171453
Note: See TracChangeset for help on using the changeset viewer.