NetworkManager/contrib/fedora/rpm
Thomas Haller 5dea2efd9e contrib/rpm: add Requires to exact wwan version for NetworkManager-bluetooth subpackage
rpmdiff complains:

  Subpackage NetworkManager-bluetooth on aarch64 x86_64 ppc64 ppc64le s390x
  consumes library libnm-wwan.so()(64bit) from subpackage NetworkManager-wwan
  but does not have explicit package version requirement.
  Please add Requires: NetworkManager-wwan = %{version}-%{release} to
  NetworkManager-bluetooth in the specfile to avoid the need to test
  interoperability between the various combinations of old and new subpackages.

And indeed, device plugins don't have a stable API/ABI, and requires
exact NetworkManager and wwan versions. This was already enforced implicitly,
because all device plugins require the same exact NetworkManager version.
2016-06-02 09:44:37 +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 contrib/rpm: refactor specifying package version in spec file 2016-05-06 15:54:19 +02:00
build_clean.sh contrib/rpm: improve build_clean.sh to explicitly set $SOURCE_FROM_GIT 2016-04-01 09:25:11 +02:00
NetworkManager.conf contrib/rpm: add comment to NetworkManager.conf about debug logfiles 2016-01-27 14:11:24 +01:00
NetworkManager.spec contrib/rpm: add Requires to exact wwan version for NetworkManager-bluetooth subpackage 2016-06-02 09:44:37 +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