Fix rpmlint warnings
This commit is contained in:
parent
41d4383035
commit
3b52aae278
10
radvd.spec
10
radvd.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A Router Advertisement daemon
|
Summary: A Router Advertisement daemon
|
||||||
Name: radvd
|
Name: radvd
|
||||||
Version: 2.16
|
Version: 2.16
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# The code includes the advertising clause, so it's GPL-incompatible
|
# The code includes the advertising clause, so it's GPL-incompatible
|
||||||
License: BSD with advertising
|
License: BSD with advertising
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -50,14 +50,14 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIE"
|
|||||||
export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen'
|
export LDFLAGS='-pie -Wl,-z,relro,-z,now,-z,noexecstack,-z,nodlopen'
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--with-pidfile=%{_localstatedir}/run/radvd/radvd.pid
|
--with-pidfile=%{_localstatedir}/run/radvd.pid
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/radvd
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||||
|
|
||||||
install -m 644 redhat/radvd.conf.empty $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
|
install -m 644 redhat/radvd.conf.empty $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
|
||||||
@ -93,13 +93,15 @@ exit 0
|
|||||||
%config(noreplace) %{_sysconfdir}/radvd.conf
|
%config(noreplace) %{_sysconfdir}/radvd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/radvd
|
%config(noreplace) %{_sysconfdir}/sysconfig/radvd
|
||||||
%{_tmpfilesdir}/radvd.conf
|
%{_tmpfilesdir}/radvd.conf
|
||||||
%dir %attr(-,radvd,radvd) %{_localstatedir}/run/radvd/
|
|
||||||
%doc radvd.conf.example
|
%doc radvd.conf.example
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_sbindir}/radvd
|
%{_sbindir}/radvd
|
||||||
%{_sbindir}/radvdump
|
%{_sbindir}/radvdump
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 30 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2.16-2
|
||||||
|
- Create pid file in /var/run instead of /var/run/radvd (#1438478)
|
||||||
|
|
||||||
* Sat Apr 15 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2.16-1
|
* Sat Apr 15 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2.16-1
|
||||||
- New release 2.16 (#1379105)
|
- New release 2.16 (#1379105)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user