Spec file cleanup

This commit is contained in:
Robert Scheck 2021-01-18 01:02:33 +00:00 committed by Andrea Claudi
parent 9440bece43
commit e100ed01fc

View File

@ -3,8 +3,8 @@ Summary: Advanced IP routing and network device configuration tools
Name: iproute Name: iproute
Version: 5.10.0 Version: 5.10.0
Release: 2%{?dist} Release: 2%{?dist}
URL: http://kernel.org/pub/linux/utils/net/%{name}2/ URL: https://kernel.org/pub/linux/utils/net/%{name}2/
Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.xz Source0: https://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.xz
License: GPLv2+ and Public Domain License: GPLv2+ and Public Domain
BuildRequires: gcc BuildRequires: gcc
@ -71,7 +71,6 @@ install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
%files %files
%dir %{_sysconfdir}/iproute2 %dir %{_sysconfdir}/iproute2
%{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%doc README %doc README
%{_mandir}/man7/* %{_mandir}/man7/*
@ -84,7 +83,6 @@ install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
%{_datadir}/bash-completion/completions/devlink %{_datadir}/bash-completion/completions/devlink
%files tc %files tc
%{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%{_mandir}/man7/tc-* %{_mandir}/man7/tc-*
%{_mandir}/man8/tc* %{_mandir}/man8/tc*
@ -94,7 +92,6 @@ install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
%{_datadir}/bash-completion/completions/tc %{_datadir}/bash-completion/completions/tc
%files devel %files devel
%{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING
%{_mandir}/man3/* %{_mandir}/man3/*
%{_libdir}/libnetlink.a %{_libdir}/libnetlink.a