SHA256
1
0
forked from pool/argon2

Remove now-unneeded pkgconfig hacks

OBS-URL: https://build.opensuse.org/package/show/security/argon2?expand=0&rev=17
This commit is contained in:
Ismail Dönmez 2020-05-12 16:58:31 +00:00 committed by Git OBS Bridge
parent 288e4948d7
commit 1e9f424e01

View File

@ -80,14 +80,11 @@ password hashing function that won the Password Hashing Competition
%build %build
%make %{?_smp_mflags} %make %{?_smp_mflags}
# fix pkgconfig file
sed -e 's:lib/@HOST_MULTIARCH@:%{_lib}:;s/@UPSTREAM_VER@/%{version}/' -i libargon2.pc
%install %install
%make DESTDIR=%{buildroot} install %make DESTDIR=%{buildroot} install
install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1 install -D -m 644 man/argon2.1 %{buildroot}%{_mandir}/man1/argon2.1
install -D -m 644 libargon2.pc %{buildroot}/%{_libdir}/pkgconfig/libargon2.pc
%check %check
%make test %make test