From 35eefd896451609c19d10d2e1cd3956443352076 Mon Sep 17 00:00:00 2001 From: liquor <1692257904@qq.com> Date: Sat, 4 Jul 2020 12:13:25 +0800 Subject: [PATCH] add libargon2.so.0 --- argon2.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/argon2.spec b/argon2.spec index 4e24279..c8094f4 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