Changes between Version 1 and Version 2 of debbuild-doc


Ignore:
Timestamp:
06/07/15 12:11:49 (9 years ago)
Author:
kdeugau
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debbuild-doc

    v1 v2  
    3131
    3232 debbuild --showpkgs file.spec
     33
     34 debbuild -i foo.sdeb
    3335}}}
    3436
     
    5860If 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".
    5961
     62The 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
    6064----
    6165
     
    8286=== [=#ba] !BuildArch or !BuildArchitecture ===
    8387
    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.
     88rpm 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.
    8589
    8690debbuild allows this by using the architecture specified by (in order of preference):
    8791
    8892* Host architecture
    89 * BuildArch specified in .spec file preamble
    90 * "Last specified" BuildArch for packages with several subpackages
    91 * BuildArch specified in the %package section for that subpackage
     93* !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
    9296
    9397=== [=#showpkg] Finding out what packages should be built (--showpkgs) ===