biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / gammu / systemd.patch
blob315fd64a3b5254ba66facde1eaa4fbb63ffda286
1 diff --git a/cmake/templates/gammu.spec.in b/cmake/templates/gammu.spec.in
2 index 25c08b3d6..86f72d8c7 100644
3 --- a/cmake/templates/gammu.spec.in
4 +++ b/cmake/templates/gammu.spec.in
5 @@ -386,9 +386,9 @@ fi
6 %doc %{_mandir}/man7/gammu-smsd-run.7*
7 %doc %{_mandir}/man7/gammu-smsd-sql.7*
8 %doc %{_mandir}/man7/gammu-smsd-tables.7*
9 -%dir %{_libexecdir}/systemd
10 -%dir %{_libexecdir}/systemd/system
11 -%{_libexecdir}/systemd/system/gammu-smsd.service
12 +%dir %{_prefix}/systemd
13 +%dir %{_prefix}/systemd/system
14 +%{_prefix}/systemd/system/gammu-smsd.service
16 %files -n libGammu%{so_ver} -f libgammu.lang
17 %defattr(-,root,root,-)
18 diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
19 index 378411086..b871e6525 100644
20 --- a/contrib/CMakeLists.txt
21 +++ b/contrib/CMakeLists.txt
22 @@ -100,7 +100,7 @@ if (WITH_SYSTEMD)
23 configure_file( init/gammu-smsd.service init/gammu-smsd.service )
24 install (
25 FILES ${CMAKE_CURRENT_BINARY_DIR}/init/gammu-smsd.service
26 - DESTINATION "${SYSTEMD_SERVICES_INSTALL_DIR}"
27 + DESTINATION "${CMAKE_INSTALL_PREFIX}/systemd"
28 COMPONENT "systemd"
30 endif (WITH_SYSTEMD)