---
name: "lsb-rpmbuild"
section: "1"
platform: "linux"
package: "lsb-rpm"
version: "4.8.1-6+squeeze1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/lsb-rpmbuild"
---

# lsb-rpmbuild(1)

build a LSB package

## NAME

lsb-rpmbuild - build a LSB package

## SYNOPSIS

**lsb-rpmbuild -ba package.spec**

## DESCRIPTION

This is a special version of rpm that can only be used to build RPM v3 format packages, for use as LSB packages. It cannot query or install packages, just build them. See the BUILD OPTIONS section of **[rpmbuild(8)](/rpmbuild/8.md)** for the details.

Please note that using lsb-rpm itself does not have to be enough to create LSB compliant package, you will also need to disable some RPM tags:

    %\_use\_internal\_dependency\_generator 0

## SEE ALSO

**[rpmbuild(8)](/rpmbuild/8.md)** , **[lsb-rpm(1)](/lsb-rpm/1.md)**

## AUTHOR

This manual page was written by Joey Hess, for the Debian GNU/Linux system.
