Skip to content

Commit

Permalink
distro UPDATE change SERVER_DIR to /var/lib in rpm (#1620)
Browse files Browse the repository at this point in the history
Fixes #1619.

Co-authored-by: Martin Sander <martin_sander@genua.de>
  • Loading branch information
marvinthepa and Martin Sander authored Aug 13, 2024
1 parent 385fc90 commit 91a58ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distro/pkg/rpm/netopeer2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ a single established NETCONF session.
%cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
-DSYSREPO_SETUP=OFF \
-DPIDFILE_PREFIX=/run \
-DSERVER_DIR=%{_libdir}/netopeer2-server
-DSERVER_DIR=%{_sharedstatedir}/netopeer2-server
%cmake_build

%install
%cmake_install
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/netopeer2-server.service
mkdir -p -m=700 %{buildroot}%{_libdir}/netopeer2-server
mkdir -p -m=700 %{buildroot}%{_sharedstatedir}/netopeer2-server

%post server
set -e
Expand Down Expand Up @@ -102,7 +102,7 @@ set -e
%{_sysconfdir}/pam.d/netopeer2.conf
%dir %{_datadir}/yang/modules/netopeer2/
%dir %{_datadir}/netopeer2/
%dir %{_libdir}/netopeer2-server/
%dir %{_sharedstatedir}/netopeer2-server/

%files cli
%license LICENSE
Expand Down

0 comments on commit 91a58ef

Please sign in to comment.