Hello community,

here is the log from the commit of package argon2 for openSUSE:Factory checked 
in at 2017-02-05 15:48:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/argon2 (Old)
 and      /work/SRC/openSUSE:Factory/.argon2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "argon2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/argon2/argon2.changes    2017-02-03 
17:31:37.824255043 +0100
+++ /work/SRC/openSUSE:Factory/.argon2.new/argon2.changes       2017-02-05 
16:30:39.372788520 +0100
@@ -1,0 +2,6 @@
+Sat Jan 28 09:56:58 UTC 2017 - [email protected]
+
+- make sure to call cc with -pthread option (implies -lpthread)
+- run test suite
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ argon2.spec ++++++
--- /var/tmp/diff_new_pack.O8ub9M/_old  2017-02-05 16:30:39.784730418 +0100
+++ /var/tmp/diff_new_pack.O8ub9M/_new  2017-02-05 16:30:39.784730418 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package argon2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,7 +41,7 @@
 
 %package -n %{lname}
 Summary:        The reference C implementation of Argon2
-Group :         System/Libraries
+Group:          System/Libraries
 
 %description -n %{lname}
 Reference C implementation of Argon2, the password-hashing function
@@ -63,7 +63,7 @@
 sed -i s,"LIBRARY_REL = lib","LIBRARY_REL = %{_lib}", Makefile
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags} -Iinclude -Isrc" LDFLAGS="-lpthread" 
%{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="-pthread %{optflags} -Iinclude -Isrc"
 
 %install
 make %{?_smp_mflags} DESTDIR=%{buildroot} install
@@ -73,6 +73,9 @@
 mv %{buildroot}%{_libdir}/libargon2.so %{buildroot}%{_libdir}/libargon2.so.0
 ln -s %{_libdir}/libargon2.so.0 %{buildroot}%{_libdir}/libargon2.so
 
+%check
+make CFLAGS="-pthread %{optflags} -Iinclude -Isrc" test
+
 %post -n %{lname} -p /sbin/ldconfig
 %postun -n %{lname} -p /sbin/ldconfig
 


Reply via email to