adapt to r11.1

This commit is contained in:
Sergey Zhemoitel 2021-04-02 00:13:56 +03:00
parent ebc9a742f8
commit 4ea259c9be
2 changed files with 14 additions and 4 deletions

2
ppp.rpmlintrc Normal file
View file

@ -0,0 +1,2 @@
addFilter("E: non-standard-dir-perm")
addFilter("E: non-readable")

View file

@ -1,4 +1,5 @@
%define _disable_ld_no_undefined %nil %define _disable_ld_no_undefined %nil
%define _rundir /var/run
Summary: The PPP daemon and documentation Summary: The PPP daemon and documentation
Name: ppp Name: ppp
@ -8,6 +9,7 @@ License: BSD-like
Group: System/Servers Group: System/Servers
Url: http://www.samba.org/ppp/ Url: http://www.samba.org/ppp/
Source0: https://github.com/paulusmack/ppp/archive/%{version}.tar.gz Source0: https://github.com/paulusmack/ppp/archive/%{version}.tar.gz
Source1000: %{name}.rpmlintrc
Source1: ppp-pam.conf Source1: ppp-pam.conf
Source2: ppp-logrotate.conf Source2: ppp-logrotate.conf
Source3: ppp-tmpfiles.conf Source3: ppp-tmpfiles.conf
@ -68,7 +70,7 @@ the PPP protocol.
%{_sbindir}/chat %{_sbindir}/chat
%{_sbindir}/pppd %{_sbindir}/pppd
%{_sbindir}/pppdump %{_sbindir}/pppdump
%{_sbindir}/pppoe-discovery #{_sbindir}/pppoe-discovery
%{_sbindir}/pppstats %{_sbindir}/pppstats
%{_sbindir}/ppp-watch %{_sbindir}/ppp-watch
%dir %{_sysconfdir}/ppp %dir %{_sysconfdir}/ppp
@ -81,12 +83,17 @@ the PPP protocol.
%{_mandir}/man8/chat.8* %{_mandir}/man8/chat.8*
%{_mandir}/man8/pppd.8* %{_mandir}/man8/pppd.8*
%{_mandir}/man8/pppdump.8* %{_mandir}/man8/pppdump.8*
%{_mandir}/man8/pppd-radattr.8* #{_mandir}/man8/pppd-radattr.8*
%{_mandir}/man8/pppd-radius.8* #{_mandir}/man8/pppd-radius.8*
%{_mandir}/man8/pppstats.8* %{_mandir}/man8/pppstats.8*
%{_mandir}/man8/pppoe-discovery.8* %{_mandir}/man8/pppoe-discovery.8*
%{_mandir}/man8/ppp-watch.8* %{_mandir}/man8/ppp-watch.8*
%{_libdir}/pppd %{_libdir}/pppd/%{version}/minconn.so
%{_libdir}/pppd/%{version}/openl2tp.so
%{_libdir}/pppd/%{version}/passprompt.so
%{_libdir}/pppd/%{version}/passwordfd.so
%{_libdir}/pppd/%{version}/pppol2tp.so
%{_libdir}/pppd/%{version}/winbind.so
%ghost %dir %{_rundir}/ppp %ghost %dir %{_rundir}/ppp
%ghost %dir %{_rundir}/lock/ppp %ghost %dir %{_rundir}/lock/ppp
%dir %{_sysconfdir}/logrotate.d %dir %{_sysconfdir}/logrotate.d
@ -145,6 +152,7 @@ PPP over ethernet plugin for %{name}.
%files pppoe %files pppoe
%doc README %doc README
%{_libdir}/pppd/%{version}/pppoe.so
%{_libdir}/pppd/%{version}/rp-pppoe.so %{_libdir}/pppd/%{version}/rp-pppoe.so
%{_sbindir}/pppoe-discovery %{_sbindir}/pppoe-discovery