From ceb1ba69b45ba67a9c3f66451527bcd5c8d4aa26 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 27 Aug 2019 16:19:37 +0200 Subject: [PATCH] contrib/rpm: explicitly set runstatedir to "/run" when building release tarball Nowadays, we should prefer "/run" over "/var/run". When not specifying during ./configure, autotools however still defaults to "/var/run". This default is also visible in the pre-generated documenation, for example `man NetworkManager.conf` says Unless the symlink points to the internal file /run/NetworkManager/resolv.conf, in which case the ... (cherry picked from commit 081b16cdb8dadddf750065674f44208e5cec9314) --- contrib/fedora/rpm/build_clean.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/fedora/rpm/build_clean.sh b/contrib/fedora/rpm/build_clean.sh index 8a22792e20..2b0eb8abdb 100755 --- a/contrib/fedora/rpm/build_clean.sh +++ b/contrib/fedora/rpm/build_clean.sh @@ -130,6 +130,7 @@ fi if [[ $NO_DIST != 1 ]]; then ./autogen.sh \ + --with-runstatedir=/run \ --program-prefix= \ --prefix=/usr \ --exec-prefix=/usr \