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
1 changed files with 3 additions and 2 deletions

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