Linux Today: Linux News On Internet Time.

More on LinuxToday

openSUSE Build System: Building DEB Packages

Sep 13, 2009, 04:27 (0 Talkback[s])
(Other stories by Linux Foundation)

"When creating deb packages with OBS it appears to be common practice to keep the rules and control files separate and tar.gz the other files from the Debian directory. You also need to have a partial dsc file in order for OBS to build your package. The Build-Depends line in your dsc file will direct OBS to install all the deb files that a system needs in order to build your deb package. The Files section of the dsc file is not used by OBS and can be trimmed off to avoid having stale and misleading information around.

"If you can use the same files for building on all Debian distributions then you will have debian.control, debian.dsc, debian.rules and debian.tar.gz attached to the project. If a particular version of derivative of Debian requires different build instructions, you can create distribution specific versions of these files by including the distribution name and version as a postfix in the filename. For example, instead of debian.dsc you might have siproxd-xUbuntu_9.04.dsc and siproxd-Debian_Etch.dsc."

Complete Story

Related Stories: