diff --git a/argon2.spec b/argon2.spec index 4e24279bc2f28e158c1c6dd23caee668d069cd6f..c8094f4d5d21c8a04af32276b8d00643c7eed748 100644 --- a/argon2.spec +++ b/argon2.spec @@ -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 - 20190702-2 +- add libargon2.so.0 + * Fri Jul 3 2020 wangchen - 20190702-1 - update argon2 to 20190702