Dominique Leuenberger 2022-08-21 12:10:55 +00:00 committed by Git OBS Bridge
commit 8bd4e6507b
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 9 12:17:29 UTC 2022 - Thorsten Kukuk <kukuk@suse.com>
- Use %_pam_vendordir
-------------------------------------------------------------------
Thu Apr 28 21:10:19 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%define use_firewalld 0
%endif
%if 0%{?suse_version} < 1550
%define _distconfdir %{_sysconfdir}
%define _pam_vendordir %{_sysconfdir}/pam.d
%endif
Name: tigervnc
Version: 1.12.0
@ -330,7 +330,7 @@ install -D -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.
# only package as %%doc (boo#1173045)
cp %{SOURCE7} .
install -D -m 755 %{SOURCE8} %{buildroot}%{_bindir}/vncpasswd.arg
install -D -m 644 %{SOURCE9} %{buildroot}%{_distconfdir}/pam.d/vnc
install -D -m 644 %{SOURCE9} %{buildroot}%{_pam_vendordir}/vnc
install -D -m 644 %{SOURCE11} %{buildroot}%{_datadir}/vnc/classes
%if 0%{?suse_version} >= 1315
ln -s -f %{_sysconfdir}/alternatives/vncviewer %{buildroot}%{_bindir}/vncviewer
@ -496,9 +496,9 @@ fi
%endif
%if 0%{?suse_version} < 1550
%config %{_distconfdir}/pam.d/vnc
%config %{_sysconfdir}/pam.d/vnc
%else
%{_distconfdir}/pam.d/vnc
%{_pam_vendordir}/vnc
%endif
%dir %attr(0755,%{vncuser},%{vncuser}) %{_sysconfdir}/vnc