update code
This commit is contained in:
parent
f7375074de
commit
1248004395
25
radvd.spec
25
radvd.spec
@ -1,6 +1,6 @@
|
||||
Name: radvd
|
||||
Version: 2.18
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Router ADVertisement Daemon for IPv6
|
||||
License: BSD with advertising
|
||||
URL: http://www.litech.org/radvd/
|
||||
@ -13,17 +13,17 @@ Requires(pre): shadow-utils
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
The router advertisement daemon (radvd) is run by Linux or BSD systems
|
||||
acting as IPv6 routers. It sends Router Advertisement messages,
|
||||
specified by RFC 2461, to a local Ethernet LAN periodically and when
|
||||
requested by a node sending a Router Solicitation message. These
|
||||
The router advertisement daemon (radvd) is run by Linux or BSD systems
|
||||
acting as IPv6 routers. It sends Router Advertisement messages,
|
||||
specified by RFC 2461, to a local Ethernet LAN periodically and when
|
||||
requested by a node sending a Router Solicitation message. These
|
||||
messages are required for IPv6 stateless autoconfiguration.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
|
||||
for F in CHANGES; do
|
||||
iconv -f iso-8859-1 -t utf-8 < "$F" > "${F}.new"
|
||||
touch -r "$F" "${F}.new"
|
||||
@ -47,7 +47,7 @@ install -m 644 radvd.conf.empty %{buildroot}%{_sysconfdir}/radvd.conf
|
||||
install -m 644 radvd.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/radvd
|
||||
popd
|
||||
|
||||
install -d -m 755 %{buildroot}%{_tmpfilesdir}
|
||||
install -d -m 755 %{buildroot}%{_tmpfilesdir}
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/radvd.conf
|
||||
|
||||
pushd redhat/systemd
|
||||
@ -62,7 +62,7 @@ make check
|
||||
|
||||
%post
|
||||
%systemd_post radvd.service
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_preun radvd.service
|
||||
|
||||
@ -73,8 +73,9 @@ getent passwd radvd >/dev/null || \
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%doc CHANGES COPYRIGHT
|
||||
%doc CHANGES
|
||||
%defattr(-,root,root)
|
||||
%license COPYRIGHT
|
||||
%{_tmpfilesdir}/radvd.conf
|
||||
%config(noreplace) %{_sysconfdir}/radvd.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/radvd
|
||||
@ -89,5 +90,11 @@ exit 0
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.18-2
|
||||
- Type:enhancement
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:modify the location of COPYRIGHT
|
||||
|
||||
* Mon Sep 16 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.18-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user