diff --git a/mingw-w64-winpthreads-3.1.0.tar.xz b/mingw-w64-winpthreads-3.1.0.tar.xz deleted file mode 100644 index 5481ad7..0000000 --- a/mingw-w64-winpthreads-3.1.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08f63df8d263f0c9f917d9722d05e30efa687aa941ba6f47adf677b3dbd21adf -size 311464 diff --git a/mingw-w64-winpthreads-4.0.1.tar.xz b/mingw-w64-winpthreads-4.0.1.tar.xz new file mode 100644 index 0000000..0cd3102 --- /dev/null +++ b/mingw-w64-winpthreads-4.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef17e5e8d43abd259a0bbbd238194b5c426a8bd9d5be9da2619adf2fd25058f2 +size 315192 diff --git a/mingw32-winpthreads-rpmlintrc b/mingw32-winpthreads-rpmlintrc new file mode 100644 index 0000000..ac46eac --- /dev/null +++ b/mingw32-winpthreads-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("devel-file-in-non-devel-package") +addFilter("spurious-executable-perm") diff --git a/mingw32-winpthreads.changes b/mingw32-winpthreads.changes index c793f21..69fd1d6 100644 --- a/mingw32-winpthreads.changes +++ b/mingw32-winpthreads.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 25 10:38:10 UTC 2015 - jengelh@inai.de + +- Update to winpthreads from mingw-w64-4.0.1 +* Reentrant time functions localtime_r, gmtime_r, etc. are removed + from pthread.h and are now available through time.h ONLY. + ------------------------------------------------------------------- Mon Jul 14 10:47:35 UTC 2014 - jengelh@inai.de @@ -13,4 +20,3 @@ Thu Jun 19 12:24:42 UTC 2014 - jw@owncloud.com Mon Feb 3 12:07:45 UTC 2014 - jengelh@inai.de - Initial package (version 3.1.0) for build.opensuse.org - diff --git a/mingw32-winpthreads.spec b/mingw32-winpthreads.spec index 0f5da83..fca9222 100644 --- a/mingw32-winpthreads.spec +++ b/mingw32-winpthreads.spec @@ -17,13 +17,16 @@ Name: mingw32-winpthreads -Version: 3.1.0 +Version: 4.0.1 Release: 0 Summary: A pthreads implementation for Windows License: MIT and BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://mingw-w64.sf.net/ -Source: mingw-w64-winpthreads-%{version}.tar.xz + +#DL-URL: http://download.sf.net/mingw-w64/mingw-w64-%version.tar.bz2 +Source: mingw-w64-winpthreads-%version.tar.xz +Source9: %name-rpmlintrc BuildRequires: mingw32-cross-gcc-bootstrap BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem @@ -62,7 +65,7 @@ mingw-w64's implementation of POSIX threads for Windows. %setup -q -n winpthreads %build -# There build is trying to link with libpthread.a but it has no need +# The build is trying to link with libpthread.a but it has no need # of any symbol from there, so just create a fake library and use it. mkdir fakelib pushd fakelib