Spec file cleanup
This commit is contained in:
parent
bc305c871c
commit
cf6ddaf253
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: iptables
|
Name: iptables
|
||||||
Summary: Tools for managing Linux kernel packet filtering capabilities
|
Summary: Tools for managing Linux kernel packet filtering capabilities
|
||||||
URL: http://www.netfilter.org/projects/iptables
|
URL: https://www.netfilter.org/projects/iptables
|
||||||
Version: 1.8.7
|
Version: 1.8.7
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
||||||
@ -181,7 +181,7 @@ popd
|
|||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
# remove la file(s)
|
# remove la file(s)
|
||||||
rm -f %{buildroot}/%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
# install ip*tables.h header files
|
# install ip*tables.h header files
|
||||||
install -m 644 include/ip*tables.h %{buildroot}%{_includedir}/
|
install -m 644 include/ip*tables.h %{buildroot}%{_includedir}/
|
||||||
@ -332,7 +332,6 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc INCOMPATIBILITIES
|
%doc INCOMPATIBILITIES
|
||||||
%if 0%{?fedora} <= 24
|
%if 0%{?fedora} <= 24
|
||||||
|
Loading…
Reference in New Issue
Block a user