From 98cbfa3d0cffae634840d2a3a9e31ab3ee2f9f8b Mon Sep 17 00:00:00 2001 From: qupfer Date: Thu, 15 Aug 2024 12:11:17 +0200 Subject: [PATCH] distro BUGFIX absolute CMAKE_INSTALL_SYSCONFDIR path (#1627) To make sure PAM conf file is installed in `/etc`, not `/usr/etc`. --- distro/pkg/rpm/netopeer2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/distro/pkg/rpm/netopeer2.spec b/distro/pkg/rpm/netopeer2.spec index be1a0984..607c9bbe 100644 --- a/distro/pkg/rpm/netopeer2.spec +++ b/distro/pkg/rpm/netopeer2.spec @@ -63,6 +63,7 @@ a single established NETCONF session. %build %cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DSYSREPO_SETUP=OFF \ -DPIDFILE_PREFIX=/run \ -DSERVER_DIR=%{_sharedstatedir}/netopeer2-server