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
This commit is contained in:
parent
4a725a1c01
commit
2c8aaadd22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user