add dhX.conf.example in doc
This commit is contained in:
parent
522ea5ef15
commit
7fe4c15676
22
dhcp.spec
22
dhcp.spec
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: dhcp
|
Name: dhcp
|
||||||
Version: 4.4.2
|
Version: 4.4.2
|
||||||
Release: 12
|
Release: 13
|
||||||
Summary: Dynamic host configuration protocol software
|
Summary: Dynamic host configuration protocol software
|
||||||
#Please don't change the epoch on this package
|
#Please don't change the epoch on this package
|
||||||
Epoch: 12
|
Epoch: 12
|
||||||
@ -184,13 +184,15 @@ cat << EOF > %{buildroot}%{dhcpconfdir}/dhcpd6.conf
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT/usr/lib/debug/usr/sbin/dhcrelay-4.3.6-28.7.aarch64.debug
|
rm -f $RPM_BUILD_ROOT/usr/lib/debug/usr/sbin/dhcrelay-4.3.6-28.7.aarch64.debug
|
||||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dhclient.conf.example
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dhcpd.conf.example
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-client
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-client
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server
|
||||||
|
|
||||||
|
mv -f $RPM_BUILD_ROOT%{_sysconfdir}/dhclient.conf.example doc/examples/dhclient-dhcpv4.conf
|
||||||
|
mv -f $RPM_BUILD_ROOT%{_sysconfdir}/dhcpd.conf.example doc/examples/dhcpd-dhcpv4.conf
|
||||||
|
install -p -m 0755 doc/examples/dhclient-dhcpv4.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-client/dhclient.conf.example
|
||||||
|
install -p -m 0755 doc/examples/dhcpd-dhcpv4.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
||||||
|
|
||||||
install -p -m 0755 doc/examples/dhclient-dhcpv6.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-client/dhclient6.conf.example
|
install -p -m 0755 doc/examples/dhclient-dhcpv6.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-client/dhclient6.conf.example
|
||||||
install -p -m 0755 doc/examples/dhcpd-dhcpv6.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server/dhcpd6.conf.example
|
install -p -m 0755 doc/examples/dhcpd-dhcpv6.conf $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server/dhcpd6.conf.example
|
||||||
install -p -m 0755 server/dhcpd.conf.example $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
install -p -m 0755 server/dhcpd.conf.example $RPM_BUILD_ROOT%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
||||||
@ -245,8 +247,10 @@ exit 0
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README RELNOTES doc/References.txt
|
%doc README RELNOTES doc/References.txt
|
||||||
%doc README.dhclient.d client/dhclient.conf.example
|
%doc README.dhclient.d
|
||||||
%doc contrib/ldap/ contrib/dhcp-lease-list.pl
|
%doc contrib/ldap/ contrib/dhcp-lease-list.pl
|
||||||
|
%{_datadir}/doc/dhcp-client/dhclient.conf.example
|
||||||
|
%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
||||||
%{_datadir}/doc/dhcp-client/dhclient6.conf.example
|
%{_datadir}/doc/dhcp-client/dhclient6.conf.example
|
||||||
%{_datadir}/doc/dhcp-server/dhcpd6.conf.example
|
%{_datadir}/doc/dhcp-server/dhcpd6.conf.example
|
||||||
%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
%{_datadir}/doc/dhcp-server/dhcpd.conf.example
|
||||||
@ -301,6 +305,12 @@ exit 0
|
|||||||
%{_mandir}/man3/omapi.3.gz
|
%{_mandir}/man3/omapi.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 30 2022 renmingshuai <renmingshuai@huawei.com> - 4.4.2-13
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC:add dhX.conf.example in doc
|
||||||
|
|
||||||
* Tue Feb 22 2022 zengwefeng <zwfeng@huawei.com> - 4.4.2-12
|
* Tue Feb 22 2022 zengwefeng <zwfeng@huawei.com> - 4.4.2-12
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user