add libargon2.so.0

This commit is contained in:
liquor 2020-07-04 12:13:25 +08:00
parent 04e4784035
commit 35eefd8964

View File

@ -2,7 +2,7 @@
Name: argon2
Version: 20190702
Release: 1
Release: 2
Summary: A password-hashing tool
License: Public Domain or ASL 2.0
URL: https://github.com/P-H-C/phc-winner-argon2
@ -69,6 +69,9 @@ sed -e '/^CFLAGS/s:^CFLAGS:LDFLAGS=%{build_ldflags}\nCFLAGS:' \
%delete_la_and_a
install -Dpm 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1
mv %{buildroot}%{_libdir}/libargon2.so %{buildroot}%{_libdir}/libargon2.so.0
ln -s libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so
%check
make test
@ -101,6 +104,9 @@ make test
%{_mandir}/man1/*
%changelog
* Sat Jul 4 2020 Liquor <lirui130@huawei.com> - 20190702-2
- add libargon2.so.0
* Fri Jul 3 2020 wangchen <wangchen137@huawei.com> - 20190702-1
- update argon2 to 20190702