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