summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-05-11 15:40:27 +0200
committerThomas Haller <thaller@redhat.com>2017-05-11 15:40:29 +0200
commitd537fa20f0cb549f16d2c3c0972f08d94518f239 (patch)
tree07178f94e4a13bc64f43fc1f9119d692951272fb
parent59421b7e7e375d87da562a11e8df1b473805b63a (diff)
downloadNetworkManager-d537fa20f0cb549f16d2c3c0972f08d94518f239.tar.gz
makerepo: add git repository for glib2 branch
-rwxr-xr-xcontrib/fedora/utils/makerepo.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh
index 92b22a4285..99cafe7b7d 100755
--- a/contrib/fedora/utils/makerepo.sh
+++ b/contrib/fedora/utils/makerepo.sh
@@ -278,6 +278,7 @@ detect_build_type 'initscripts-[0-9]*' initscripts.spec
detect_build_type 'libqmi-[0-9]*' libqmi.spec
detect_build_type 'libibverbs-[0-9]*' libibverbs.spec
detect_build_type 'iproute2-*' iproute.spec
+detect_build_type 'glib-2*' glib2.spec
detect_build_type 'vpnc-*' vpnc.spec
detect_build_type 'gnome-control-center-*' control-center.spec gnome-control-center
@@ -368,6 +369,9 @@ pushd "$DIRNAME"
elif [[ "$BUILD_TYPE" == "NetworkManager-vpnc" ]]; then
git remote add origin "git://git.gnome.org/network-manager-vpnc";
git remote 'set-url' --push origin "ssh://$USER@git.gnome.org/git/network-manager-vpnc"
+ elif [[ "$BUILD_TYPE" == "glib2" ]]; then
+ git remote add origin "git://git.gnome.org/glib"
+ git remote 'set-url' --push origin "ssh://$USER@git.gnome.org/git/glib"
elif [[ "$BUILD_TYPE" == "wpa_supplicant" ]]; then
git remote add origin "git://w1.fi/hostap.git"
git remote add nm "https://github.com/NetworkManager/hostap.git"
@@ -423,6 +427,8 @@ pushd "$DIRNAME"
RELEASE_BASE_COMMIT="$(sed -n 's/^LIBNL_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)"
elif [[ "$BUILD_TYPE" == "network-manager-applet" ]]; then
RELEASE_BASE_COMMIT="$(sed -n 's/^NMA_GIT_SHA=\(.*\)/\1/p' configure 2>/dev/null)"
+ elif [[ "$BUILD_TYPE" == "glib2" ]]; then
+ RELEASE_BASE_COMMIT="$(git rev-parse --verify -q "$(sed 's/.*\<glib-\([0-9]\+\.[0-9]\+\.[0-9]\+\)\.[a-z0-9_.]\+ *$/\1/' ../sources)^{commit}" 2>/dev/null)"
elif [[ "$BUILD_TYPE" == "iproute" ]]; then
RELEASE_BASE_COMMIT="$(git rev-parse --verify -q "$(sed 's/.*\<iproute2-\([0-9]\+\.[0-9]\+\.[0-9]\+\)\..*/v\1/' ../sources)^{commit}" 2>/dev/null)"
elif [[ "$BUILD_TYPE" == "NetworkManager-openvpn" ]]; then