From 1ea687f932d51bea045171a68e22abdb8ebbc762d4e8c668cbb852d211c0b3c4 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 18 Apr 2017 14:01:26 +0000 Subject: [PATCH] - ship libargon2.pc OBS-URL: https://build.opensuse.org/package/show/security/argon2?expand=0&rev=8 --- argon2.changes | 5 +++++ argon2.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/argon2.changes b/argon2.changes index e045bb1..773c429 100644 --- a/argon2.changes +++ b/argon2.changes @@ -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 diff --git a/argon2.spec b/argon2.spec index 098136a..3b08e47 100644 --- a/argon2.spec +++ b/argon2.spec @@ -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