forked from pool/mingw64-winpthreads
trim changelog; specfile modernization
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=33
This commit is contained in:
parent
cf5ccb3b4e
commit
495cc6e0e2
@ -2,14 +2,14 @@
|
|||||||
Wed Mar 17 15:52:33 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
Wed Mar 17 15:52:33 UTC 2021 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||||
|
|
||||||
- Update to new upstream release 8.0.0
|
- Update to new upstream release 8.0.0
|
||||||
* winpthreads: Always define `__USE_MINGW_ANSI_STDIO` to zero
|
* Always define `__USE_MINGW_ANSI_STDIO` to zero
|
||||||
* winpthreads: remove unused dwFlags variable in sched.c
|
* Remove unused dwFlags variable in sched.c
|
||||||
* winpthreads: don't call SetThreadContext in winstore builds
|
* Don't call SetThreadContext in winstore builds
|
||||||
* winpthreads: do not call GetHandleInformation in winstore build
|
* Do not call GetHandleInformation in winstore build
|
||||||
* winpthreads: simplify the handle validity in pthread_check()
|
* Simplify the handle validity in pthread_check()
|
||||||
* winpthreads: always return 0 in pthread_check() if the thread ended is 0
|
* Always return 0 in pthread_check() if the thread ended is 0
|
||||||
* winpthreads: do not use the XXXExceptionHandler API in winstore builds
|
* Do not use the XXXExceptionHandler API in winstore builds
|
||||||
* winpthreads: simplify the USE_VEH_FOR_MSC_SETTHREADNAME check
|
* Simplify the USE_VEH_FOR_MSC_SETTHREADNAME check
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
|
Mon Nov 25 17:31:02 UTC 2019 - Ralf Habacker <ralf.habacker@freenet.de>
|
||||||
|
@ -30,7 +30,6 @@ BuildRequires: mingw64-cross-pkg-config
|
|||||||
BuildRequires: mingw64-filesystem
|
BuildRequires: mingw64-filesystem
|
||||||
BuildRequires: mingw64-runtime
|
BuildRequires: mingw64-runtime
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%_mingw64_package_header_debug
|
%_mingw64_package_header_debug
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
#!BuildIgnore: post-build-checks
|
#!BuildIgnore: post-build-checks
|
||||||
@ -61,7 +60,7 @@ mingw-w64's implementation of POSIX threads for Windows.
|
|||||||
%_mingw64_debug_package
|
%_mingw64_debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mingw-w64-v%{version}/mingw-w64-libraries/winpthreads
|
%autosetup -p1 -n mingw-w64-v%version/mingw-w64-libraries/winpthreads
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The 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
|
||||||
@ -79,17 +78,15 @@ popd
|
|||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
LDFLAGS="%{_mingw64_ldflags_bootstrap}"
|
LDFLAGS="%{_mingw64_ldflags_bootstrap}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%files -n mingw64-libwinpthread1
|
%files -n mingw64-libwinpthread1
|
||||||
%defattr(-,root,root)
|
|
||||||
%_mingw64_bindir/libwinpthread-1.dll
|
%_mingw64_bindir/libwinpthread-1.dll
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_mingw64_includedir/
|
%_mingw64_includedir/
|
||||||
%_mingw64_libdir/
|
%_mingw64_libdir/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user