Fix rpmlint warnings
This commit is contained in:
parent
41d4383035
commit
3b52aae278
14
radvd.spec
14
radvd.spec
@ -1,7 +1,7 @@
|
||||
Summary: A Router Advertisement daemon
|
||||
Name: radvd
|
||||
Version: 2.16
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# The code includes the advertising clause, so it's GPL-incompatible
|
||||
License: BSD with advertising
|
||||
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'
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--with-pidfile=%{_localstatedir}/run/radvd/radvd.pid
|
||||
--with-pidfile=%{_localstatedir}/run/radvd.pid
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
|
||||
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}
|
||||
|
||||
install -m 644 redhat/radvd.conf.empty $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
|
||||
@ -93,17 +93,19 @@ exit 0
|
||||
%config(noreplace) %{_sysconfdir}/radvd.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/radvd
|
||||
%{_tmpfilesdir}/radvd.conf
|
||||
%dir %attr(-,radvd,radvd) %{_localstatedir}/run/radvd/
|
||||
%doc radvd.conf.example
|
||||
%{_mandir}/*/*
|
||||
%{_sbindir}/radvd
|
||||
%{_sbindir}/radvdump
|
||||
|
||||
%changelog
|
||||
* Sat Apr 15 2017 Pavel Zhukov <landgraf@fedoraproject.org> -2.16-1
|
||||
* 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
|
||||
- New release 2.16 (#1379105)
|
||||
|
||||
* Sat Apr 15 2017 Pavel Zhukov <landgraf@fedoraproject.org> -2.14-3
|
||||
* Sat Apr 15 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 2.14-3
|
||||
- FTBFS Do not use glibc headers if linux ones are available (#143873)
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-2
|
||||
|
Loading…
Reference in New Issue
Block a user