|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
|
|
|
|
|
Name: argon2
|
|
|
|
|
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: The password-hashing tools
|
|
|
|
|
|
|
|
|
|
License: Public Domain or ASL 2.0
|
|
|
|
@ -30,8 +30,6 @@ Patch1: argon2-Wait-for-already-running-threads-if-a-thread-creatio.patch
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
Requires: %{libname}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# TODO remove this - Hack to not break buildroot
|
|
|
|
|
BuildRequires: libargon2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Argon2 is a password-hashing function that summarizes the state of the art
|
|
|
|
@ -114,8 +112,6 @@ install -Dpm 644 %{libname}.pc %{buildroot}%{_libdir}/pkgconfig/%{libname}.pc
|
|
|
|
|
# Fix perms
|
|
|
|
|
chmod -x %{buildroot}%{_includedir}/%{name}.h
|
|
|
|
|
|
|
|
|
|
# TODO remove this - Hack to not break buildroot
|
|
|
|
|
cp -p %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -129,8 +125,6 @@ make test
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_libdir}/%{libname}.so.%{soname}
|
|
|
|
|
|
|
|
|
|
# TODO remove this - Hack to not break buildroot
|
|
|
|
|
%{_libdir}/libargon2.so.0
|
|
|
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
|
%doc *md
|
|
|
|
@ -140,6 +134,9 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Mar 18 2019 Milan Broz <gmazyland@gmail.com> - 20171227-2
|
|
|
|
|
- Rebuilt to remove old library.
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2019 Milan Broz <gmazyland@gmail.com> - 20171227-1
|
|
|
|
|
- Update to version 20171227 (soname increase).
|
|
|
|
|
- Temporarily keep libargon2.so.0.
|
|
|
|
|