Some more rpmlint driven fixes.
This commit is contained in:
parent
53cacd0256
commit
02f845c1b8
11
xrdp.spec
11
xrdp.spec
@ -7,7 +7,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
|||||||
Name: xrdp
|
Name: xrdp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.6
|
Version: 0.9.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://www.xrdp.org/
|
URL: http://www.xrdp.org/
|
||||||
@ -160,6 +160,7 @@ if [ "`systemctl is-active xrdp.service`" = 'active' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
:
|
||||||
%{?ldconfig}
|
%{?ldconfig}
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
@ -205,6 +206,7 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/xrdp/km*.ini
|
%config(noreplace) %{_sysconfdir}/xrdp/km*.ini
|
||||||
%config(noreplace) %{_sysconfdir}/xrdp/openssl.conf
|
%config(noreplace) %{_sysconfdir}/xrdp/openssl.conf
|
||||||
%config(noreplace) %{_sysconfdir}/xrdp/xrdp_keyboard.ini
|
%config(noreplace) %{_sysconfdir}/xrdp/xrdp_keyboard.ini
|
||||||
|
%config(noreplace) %{_sysconfdir}/xrdp/pulse/default.pa
|
||||||
%exclude %{_sysconfdir}/xrdp/xrdp.sh
|
%exclude %{_sysconfdir}/xrdp/xrdp.sh
|
||||||
%exclude %ghost %{_sysconfdir}/xrdp/*.pem
|
%exclude %ghost %{_sysconfdir}/xrdp/*.pem
|
||||||
%exclude %ghost %{_sysconfdir}/xrdp/rsakeys.ini
|
%exclude %ghost %{_sysconfdir}/xrdp/rsakeys.ini
|
||||||
@ -239,7 +241,6 @@ fi
|
|||||||
%exclude %{_libdir}/xrdp/libxrdp.so
|
%exclude %{_libdir}/xrdp/libxrdp.so
|
||||||
%{_libdir}/xrdp/libxup.so
|
%{_libdir}/xrdp/libxup.so
|
||||||
%exclude %{_libdir}/xrdp/libxrdpapi.so
|
%exclude %{_libdir}/xrdp/libxrdpapi.so
|
||||||
%{_sysconfdir}/xrdp/pulse/default.pa
|
|
||||||
%{_unitdir}/xrdp-sesman.service
|
%{_unitdir}/xrdp-sesman.service
|
||||||
%{_unitdir}/xrdp.service
|
%{_unitdir}/xrdp.service
|
||||||
%exclude %{_includedir}/painter.h
|
%exclude %{_includedir}/painter.h
|
||||||
@ -263,8 +264,12 @@ fi
|
|||||||
%{_datadir}/selinux/*/%{name}.pp
|
%{_datadir}/selinux/*/%{name}.pp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 23 2018 Bojan Smojver <bojan@rexurive.com> - 1:0.9.6-4
|
||||||
|
- mark files in /etc/xrdp/pulse as configs
|
||||||
|
- add null command on postun, so that it is never empty
|
||||||
|
|
||||||
* Mon Apr 23 2018 Bojan Smojver <bojan@rexurive.com> - 1:0.9.6-3
|
* Mon Apr 23 2018 Bojan Smojver <bojan@rexurive.com> - 1:0.9.6-3
|
||||||
- mark files in /etc as configs
|
- mark files in /etc/xrdp as configs
|
||||||
- run ldconfig
|
- run ldconfig
|
||||||
- remove chmod of certs/keys
|
- remove chmod of certs/keys
|
||||||
- fix script interpreter
|
- fix script interpreter
|
||||||
|
Loading…
Reference in New Issue
Block a user