SHA256
1
0
forked from pool/argon2

- ship libargon2.pc

OBS-URL: https://build.opensuse.org/package/show/security/argon2?expand=0&rev=8
This commit is contained in:
Marcus Meissner 2017-04-18 14:01:26 +00:00 committed by Git OBS Bridge
parent e96d082061
commit 1ea687f932
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 18 14:01:09 UTC 2017 - meissner@suse.com
- ship libargon2.pc
-------------------------------------------------------------------
Thu Feb 23 22:32:49 UTC 2017 - adam@mizerski.pl

View File

@ -27,6 +27,7 @@ Group: Productivity/Networking/Security
Url: https://github.com/P-H-C/phc-winner-argon2
Source: https://github.com/P-H-C/phc-winner-argon2/archive/%{_version}.tar.gz#/phc-winner-argon2-%{_version}.tar.gz
Patch1: optflags.patch
BuildRequires: pkgconfig
BuildRequires: sed
ExclusiveArch: i686 x86_64
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -83,6 +84,7 @@ mv %{buildroot}%{_libdir}/libargon2.so %{buildroot}%{_libdir}/libargon2.so.0
ln -s %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so
install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1
install -D -m 644 libargon2.pc %{buildroot}/%{_libdir}/pkgconfig/libargon2.pc
%check
make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
@ -108,5 +110,6 @@ make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
%defattr(-,root,root)
%{_includedir}/argon2.h
%{_libdir}/libargon2.so
%{_libdir}/pkgconfig/libargon2.pc
%changelog