]> git.ipfire.org Git - thirdparty/lldpd.git/commit
Change handling of conditional builds in the spec file
authorPeter Kjellström <cap@nsc.liu.se>
Fri, 12 Feb 2010 11:31:13 +0000 (12:31 +0100)
committerVincent Bernat <bernat@luffy.cx>
Fri, 12 Feb 2010 17:19:51 +0000 (18:19 +0100)
commit53c653ea7e2f4eb7b7de1fab25102506dae66529
tree8c87954cac4959402463c0813e2e9e3346b65f5e
parent55d3f2f40f1faddddc794715ad516a4c201b4ee3
Change handling of conditional builds in the spec file

Change handling of build options from using simple define statements
to using the RPMs bcond_without functionality. bcond_without instead
of bcond_with ensures that the old behaviour is preserved (all
options are still enabled by default). This change allows the
convenient "rpmbuild --without xxx" and is in line with:

http://www.rpm.org/wiki/PackagerDocs/ConditionalBuilds
redhat/lldpd.spec