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 ...
This commit is contained in:
Thomas Haller 2019-08-27 16:19:37 +02:00
parent 01ef7c4079
commit 081b16cdb8

View file

@ -130,6 +130,7 @@ fi
if [[ $NO_DIST != 1 ]]; then
./autogen.sh \
--with-runstatedir=/run \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \