Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
4ef8aaebbe
commit
706150b129
@ -19,7 +19,7 @@ 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: http://www.netfilter.org/projects/iptables
|
||||||
Version: 1.8.6
|
Version: 1.8.6
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
Source: %{url}/files/%{name}-%{version}.tar.bz2
|
||||||
Source1: iptables.init
|
Source1: iptables.init
|
||||||
Source2: iptables-config
|
Source2: iptables-config
|
||||||
@ -151,7 +151,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
|
|
||||||
rm -f include/linux/types.h
|
rm -f include/linux/types.h
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%if 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
pushd bootstrap_ver
|
pushd bootstrap_ver
|
||||||
@ -165,7 +165,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
|
|
||||||
rm -f include/linux/types.h
|
rm -f include/linux/types.h
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ popd
|
|||||||
-name 'libip*tc.so.%{iptc_so_ver_old}*' -delete -print
|
-name 'libip*tc.so.%{iptc_so_ver_old}*' -delete -print
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
# remove la file(s)
|
# remove la file(s)
|
||||||
rm -f %{buildroot}/%{_libdir}/*.la
|
rm -f %{buildroot}/%{_libdir}/*.la
|
||||||
|
|
||||||
@ -444,6 +444,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 19 17:32:24 CET 2020 Tom Stellard <tstellar@redhat.com> - 1.8.6-5
|
||||||
|
- Use make macros
|
||||||
|
|
||||||
* Tue Nov 17 14:05:30 CET 2020 Phil Sutter <psutter@redhat.com> - 1.8.6-4
|
* Tue Nov 17 14:05:30 CET 2020 Phil Sutter <psutter@redhat.com> - 1.8.6-4
|
||||||
- ebtables: Fix for broken chain renaming
|
- ebtables: Fix for broken chain renaming
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user