NetworkManager/contrib/fedora/rpm
Thomas Haller 22ad5422cf contrib/rpm: allow building devel RPMs without debug enabled
Since commit 1afbf948a0,
"build: use different defaults for snapshot builds",
configure would enable debugging options if the version
number is odd.

Hence, on the master branch it was no longer possible to
build an RPM without debugging enabled. Especially,

  ./contrib/fedora/rpm/build_clean.sh -g -W debug

would not work as one would expect.
2017-05-23 22:35:54 +02:00
..
.gitignore contrib/rpm: add spec file and script to build a RPM package 2014-05-07 17:14:36 +02:00
00-server.conf contrib/rpm: update comment in 00-server.conf 2016-02-03 16:25:19 +01:00
20-connectivity-fedora.conf config/rpm: use plain HTTP URI for connectivity checking 2015-07-16 16:44:49 +02:00
build.sh contrit/rpm: create source tarball from git immidiately in SOURCES directory 2017-02-16 11:32:53 +01:00
build_clean.sh build: configure explicit paths for dist tarball during "build_clean.sh" 2017-03-24 11:20:00 +01:00
NetworkManager.conf contrib/rpm: fix code comment in default "NetworkManager.conf" 2017-01-17 14:26:30 +01:00
NetworkManager.spec contrib/rpm: allow building devel RPMs without debug enabled 2017-05-23 22:35:54 +02:00
README contrib/rpm: add README, improve usage output and rename --no-build option to --no-dist 2016-02-17 11:44:09 +01:00

# To build RPM packages for Fedora derivates directly from git, just do:


#
# preparation:
#
git clone git://anongit.freedesktop.org/NetworkManager/NetworkManager
cd NetworkManager
git checkout $WHATEVER
sudo sh ./contrib/fedora/REQUIRED_PACKAGES


#
# build the packages. Pass --help for usage help.
#
./contrib/fedora/rpm/build_clean.sh


#
# install
#
sudo dnf install ./contrib/fedora/rpm/latest/RPMS/x86_64/*rpm