From 2c8aaadd22d3ff92bb636e782854c2e43ba11165922bc0de725c239fad653e67 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 21 Sep 2014 19:40:57 +0000 Subject: [PATCH] Set Obsoletes on the dummy package so zypper won't ever try installing dummy-pthread when there is a better one available OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=11 --- mingw32-winpthreads.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mingw32-winpthreads.spec b/mingw32-winpthreads.spec index a8347e0..ff1b089 100644 --- a/mingw32-winpthreads.spec +++ b/mingw32-winpthreads.spec @@ -59,6 +59,7 @@ Group: Development/Libraries/C and C++ Requires: mingw32-libwinpthread1 = %version Provides: mingw32-unistd-pthread-devel Conflicts: mingw32-headers-dummy-pthread, otherproviders(mingw32-unistd-pthread-devel) +Obsoletes: mingw32-headers-dummy-pthread %description devel mingw-w64's implementation of POSIX threads for Windows. @@ -85,6 +86,9 @@ make %{?_smp_mflags} %install make DESTDIR=%buildroot install %{?_smp_mflags} +%clean +: + %files -n mingw32-libwinpthread1 %defattr(-,root,root) %_mingw32_bindir/libwinpthread-1.dll