NetworkManager/contrib/fedora/rpm
Thomas Haller 29a47f40f8 build: configure explicit paths for dist tarball during "build_clean.sh"
"build_clean.sh" is used to generate a distribution tarball. The tarball
contains pregenerated man pages with default values for paths, which in
turn depend on the configure options when creating the tarball.

Previously, the man page would have paths like "usr/local/etc/NetworkManager/...",
which doesn't seem the best choice for a default man page.

Explicitly set the installation paths.

Also, --disable-dependency-tracking in this mode. It may speed up the
build.
2017-03-24 11:20:00 +01: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: enable libpsl on Fedora only 2017-03-22 13:01:23 +01: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