Accepting request 489103 from security

- ship libargon2.pc (bsc#1034441)

OBS-URL: https://build.opensuse.org/request/show/489103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/argon2?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2017-04-24 07:48:17 +00:00 committed by Git OBS Bridge
commit 84bc3b31ee
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 (bsc#1034441)
-------------------------------------------------------------------
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