NetworkManager/contrib/fedora/rpm
Íñigo Huguet 9f4261168d release.sh: use versioning scheme with -dev and -rc suffixes
The previous commits has unified the versioning scheme to only use the
version names like 1.56-rc2, 1.56.2 and 1.57.1-dev, like the version
names that we use in the Git tags. The scheme with micro>=90 for RCs
will be used only internally, in the C headers. The tarballs will be
named with the new scheme.

Adapt the release.sh script to correctly understand this versioning
scheme and to create the tarballs with the right new name.

This will enable us to use Packit to automate rpm updates.
2026-01-07 10:25:56 +00:00
..
00-server.conf contrib/rpm: update comment in 00-server.conf 2016-02-03 16:25:19 +01:00
20-connectivity-fedora.conf contrib/rpm: add "enabled=true" key to "20-connectivity-{fedora,redhat}.conf" 2021-02-02 14:02:31 +01:00
20-connectivity-redhat.conf contrib/rpm: add "enabled=true" key to "20-connectivity-{fedora,redhat}.conf" 2021-02-02 14:02:31 +01:00
22-wifi-mac-addr.conf contrib/rpm: rename section in "22-wifi-mac-addr.conf" 2024-06-19 11:02:55 +00:00
70-nm-connectivity.conf contrib/rpm: disable rp_filter in config-connectivity-redhat 2019-07-15 20:16:31 +02:00
build.sh spec: use versioning scheme with ~dev and ~rc suffixes 2026-01-07 10:25:56 +00:00
build_clean.sh build: add path definition for ip6tables 2025-04-01 08:08:52 +00:00
configure-for-system.sh rpm: disable wireless extensions on Fedora 2025-12-18 16:06:44 +01:00
mockbuild.sh contrib/fedora: Add mockbuild.sh 2017-10-30 11:04:20 +01:00
NetworkManager.conf contrib/rpm: update comments in default NetworkManager.conf 2021-06-01 09:35:07 +02:00
NetworkManager.spec spec: use versioning scheme with ~dev and ~rc suffixes 2026-01-07 10:25:56 +00:00
README contrib: make "contrib/fedora/REQUIRED_PACKAGES" executable script 2018-10-22 13:19:15 +02:00
readme-ifcfg-rh-migrated.txt contrib/rpm: add note about interface renaming with ifcfg vs keyfile 2023-10-03 14:09:21 +02:00
readme-ifcfg-rh.txt contrib/rpm: add note about interface renaming with ifcfg vs keyfile 2023-10-03 14:09:21 +02:00
release.sh release.sh: use versioning scheme with -dev and -rc suffixes 2026-01-07 10:25:56 +00:00

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


#
# preparation:
#
git clone https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
cd NetworkManager
git checkout $WHATEVER
./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



# To generate a clean build from git using mock, run:
./contrib/fedora/rpm/mockbuild.sh