Fix Build::Zypp:parsecfg expected full config file name.

Fixes #135

Signed-off-by: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>
Make *.dsc build command configurable via 'dsc:build_cmd' substitution

Instead of hardcoding the build command used for *.dsc files lets
substitute from the configuration. Adding a build.script for every package
doesn't scale.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Don't use fakeroot-tcp for dsc builds

Make dpkg-buildpackage use its default gainroot command (fakeroot). The
performance overhead introduced by using fakeroot-tcp (see 30af55b1) is
very large. For a chmod/stat heavy use-case like a kernel build this easily
adds up to ~4000 seconds.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
add --nosignature option that turns off the signature check after the download
- add GPL license and headers.

Most of it is GPL v2 or v3 licensed. Some parts only v2 atm, but I will
check with authors for v3 permission
export rpm macros also for kiwi builds (issue #138)
Update headers to explicitly reference GPL version 3

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Merge pull request #139 from jblunck/debian_fakeroot

Don't use fakeroot-tcp by default for *.dsc builds
Add support for Debian repositories
Collect conflicts dependencies as well

Needed for conflict handling.
add manpages for vc and unrpm
Add support for conflicts/obsoletes handling in expander
make --nosignature work

It needs to be added to both init_buildsystem calls
strip trailing slash from BUILD_ROOT

Fixes issue #146.
- new chroot does not take / anymore but just fails.

This is fixing Ubuntu 14.10 builds (and hopefully breaks nothing else)
add OBS release number to Debian package version

The OBS auto-increment the RPM release number on every new build.
Debian has no direct support for release numbers,
but commonly used is to add the release to the version number, separated by "-":
<version>-<release>

Currently the Debian build process from OBS set the version to the string defined in the DSC file.
(A normal build will just use the version from the top most entry from debian/changelog.)

This patch against the build package adds support for auto-incremental release numbers also for DEB packages.

To use it, the project must provide a separat "debian.changelog" file
with at least one changelog entry and the DSC file must include the tag:
DEBTRANSFORM-RELEASE: 1

Therefore, the current build behaviour is not changed.
This new feature gets only activated, when the DEBTRANSFORM-RELEASE is added to the DSC file.
- fix kiwi failure on second run in existing env
build: Parse the architecture field in the dsc

Debian packages can specify which architectures they are intended to
build on (e.g. any/all for any architecture) or specific architecture
specifiers to limit to certain architectures. Parse this information
such that it can be used to automatically excluded packages on
architectures for which they're not intended

Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
handle any-<architecture> type-handling specifiers

Signed-off-by: Héctor Orón Martínez <hector.oron@collabora.co.uk>
Merge pull request #152 from sjoerd-ccu/dsc-parse-architecture

build: Parse the architecture field in the dsc