2
0

- Update to new upstream release 6.0.0

OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=26
This commit is contained in:
Jan Engelhardt 2018-10-17 19:09:21 +00:00 committed by Git OBS Bridge
parent e0ced203db
commit 01acdf43d1
4 changed files with 24 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47eb45d4861f0f56baa858710c86b9ddb162211b63a79daa188bda5723009f65
size 315880

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6703e6ebb9a628f104ab39efa54a053173e4a52318603c19d9fc297f4522097
size 315940

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 17 19:02:09 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 6.0.0
* No changelog entries specific to winpthreads found.
-------------------------------------------------------------------
Tue Nov 21 11:32:43 UTC 2017 - idonmez@suse.com

View File

@ -17,14 +17,15 @@
Name: mingw64-winpthreads
Version: 5.0.3
Version: 6.0.0
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/
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-v5.0.3.tar.bz2
#DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-v%%version.tar.bz2
# Unpack DL-URL and re-tar the "winpthreads" directory
Source: mingw-w64-winpthreads-%version.tar.xz
Source9: %name-rpmlintrc
BuildRequires: mingw64-cross-gcc-bootstrap
@ -32,7 +33,7 @@ BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem
BuildRequires: mingw64-runtime
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRoot: %_tmppath/%name-%version-build
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
@ -51,7 +52,7 @@ mingw-w64's implementation of POSIX threads for Windows.
%package devel
Summary: Development files for mingw64-winpthreads
Group: Development/Libraries/C and C++
Requires: mingw64-libwinpthread1 = %{version}
Requires: mingw64-libwinpthread1 = %version
Provides: mingw64-unistd-pthread-devel
Obsoletes: mingw64-headers-dummy-pthread
Conflicts: mingw64-headers-dummy-pthread, otherproviders(mingw64-unistd-pthread-devel)
@ -70,24 +71,24 @@ mingw-w64's implementation of POSIX threads for Windows.
mkdir fakelib
pushd fakelib
touch empty.c
%{_mingw64_cc} -c empty.c
%{_mingw64_ar} rsc libpthread.a empty.o
%_mingw64_cc -c empty.c
%_mingw64_ar rsc libpthread.a empty.o
popd
%{_mingw64_configure} \
%_mingw64_configure \
--enable-static \
--enable-shared
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
%files -n mingw64-libwinpthread1
%defattr(-,root,root)
%{_mingw64_bindir}/libwinpthread-1.dll
%_mingw64_bindir/libwinpthread-1.dll
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/
%{_mingw64_libdir}/
%_mingw64_includedir/
%_mingw64_libdir/
%changelog