Use make and make install macros

This commit is contained in:
Josef Řídký 2021-02-04 14:00:36 +01:00
parent b47ab87730
commit e80342ac5a

View File

@ -296,7 +296,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# the package is not %%_smp_mflags safe # the package is not %%_smp_mflags safe
make %{__make}
# remove rpath from compiled perl libs # remove rpath from compiled perl libs
find perl/blib -type f -name "*.so" -print -exec chrpath --delete {} \; find perl/blib -type f -name "*.so" -print -exec chrpath --delete {} \;
@ -308,7 +308,7 @@ popd
%install %install
make install DESTDIR=%{buildroot} %{make_install}
# Determine which arch net-snmp-config.h is going to try to #include. # Determine which arch net-snmp-config.h is going to try to #include.
basearch=%{_arch} basearch=%{_arch}
@ -505,6 +505,7 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%changelog %changelog
* Thu Feb 04 2021 Josef Ridky <jridky@redhat.com> - 1:5.9-7 * Thu Feb 04 2021 Josef Ridky <jridky@redhat.com> - 1:5.9-7
- remove file with unsupported license - remove file with unsupported license
- use make and make install macros
* Thu Jan 28 2021 Josef Ridky <jridky@redhat.com> - 1:5.9-6 * Thu Jan 28 2021 Josef Ridky <jridky@redhat.com> - 1:5.9-6
- add support for digests detected from ECC certificates - add support for digests detected from ECC certificates