contrib/rpm: make build more configurable by using conditionals
authorThomas Haller <thaller@redhat.com>
Tue, 2 Feb 2016 11:57:35 +0000 (12:57 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 2 Feb 2016 15:09:24 +0000 (16:09 +0100)
commit87dc14476b81d6f540abbd935b611c4910dc91cd
tree0c08f6711fc5ac57bb78cc140aea49a51265d805
parent3b01d25561d95974e6473c51b56103ce92e51af7
contrib/rpm: make build more configurable by using conditionals

Also add a new conditional "debug" to enable more assertions and
more logging, which is disabled by default.

Also add a conditional "test" to disable running the unit tests
(make check) while building the package.

http://rpm.org/wiki/PackagerDocs/ConditionalBuilds
contrib/fedora/rpm/NetworkManager.spec
contrib/fedora/rpm/build.sh
contrib/fedora/rpm/build_clean.sh