Spec file cleanup
This commit is contained in:
parent
902b969268
commit
e7f3133aff
@ -9,7 +9,7 @@ Release: 1%{?dist}
|
|||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
URL: https://github.com/iputils/iputils
|
URL: https://github.com/iputils/iputils
|
||||||
|
|
||||||
Source0: https://github.com/iputils/iputils/archive/s%{version}.tar.gz#/%{name}-s%{version}.tar.gz
|
Source0: https://github.com/iputils/iputils/archive/s%{version}/%{name}-s%{version}.tar.gz
|
||||||
Source1: ifenslave.tar.gz
|
Source1: ifenslave.tar.gz
|
||||||
Source2: rdisc.service
|
Source2: rdisc.service
|
||||||
Source3: ninfod.service
|
Source3: ninfod.service
|
||||||
@ -65,7 +65,7 @@ export LDFLAGS="-pie -Wl,-z,relro,-z,now"
|
|||||||
|
|
||||||
%meson -DBUILD_TFTPD=false
|
%meson -DBUILD_TFTPD=false
|
||||||
%meson_build
|
%meson_build
|
||||||
gcc -Wall $RPM_OPT_FLAGS $CFLAGS $LDFLAGS ifenslave.c -o ifenslave
|
gcc -Wall $RPM_OPT_FLAGS $CFLAGS $RPM_LD_FLAGS $LDFLAGS ifenslave.c -o ifenslave
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
@ -102,7 +102,6 @@ install -cp ifenslave.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc README.bonding
|
%doc README.bonding
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license bsd.txt gpl-2.0.txt
|
%license bsd.txt gpl-2.0.txt
|
||||||
%{_unitdir}/rdisc.service
|
%{_unitdir}/rdisc.service
|
||||||
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/clockdiff
|
%attr(0755,root,root) %caps(cap_net_raw=p) %{_bindir}/clockdiff
|
||||||
|
Loading…
Reference in New Issue
Block a user