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