[mingw-pthreads] Fix upgrade path when upgrading from the testing repo to F17

epienbro epienbro at fedoraproject.org
Fri Mar 9 15:15:06 UTC 2012


commit 06236401ad60350cfcc7e8e97666f0cee96a30bc
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Fri Mar 9 16:14:57 2012 +0100

    Fix upgrade path when upgrading from the testing repo to F17

 mingw-pthreads.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/mingw-pthreads.spec b/mingw-pthreads.spec
index b8b902e..3fb7307 100644
--- a/mingw-pthreads.spec
+++ b/mingw-pthreads.spec
@@ -9,7 +9,7 @@
 
 Name:           mingw-pthreads
 Version:        2.8.0
-Release:        19.%{prerelease_date}cvs%{?dist}
+Release:        20.%{prerelease_date}cvs%{?dist}
 Summary:        MinGW pthread library
 License:        LGPLv2+
 Group:          Development/Libraries
@@ -57,6 +57,10 @@ high-quality solution to this problem.
 %package -n mingw32-pthreads
 Summary:        MinGW pthread library for the win32 target
 
+# Fix upgrade path when upgrading from the testing repo to F17
+Obsoletes:      mingw32-winpthreads < 0-0.2.20120224
+Provides:       mingw32-winpthreads = 0-0.2.20120224
+
 %description -n mingw32-pthreads
 The POSIX 1003.1-2001 standard defines an application programming
 interface (API) for writing multithreaded applications. This interface
@@ -74,6 +78,10 @@ high-quality solution to this problem.
 %package -n mingw64-pthreads
 Summary:        MinGW pthread library for the win64 target
 
+# Fix upgrade path when upgrading from the testing repo to F17
+Obsoletes:      mingw64-winpthreads < 0-0.2.20120224
+Provides:       mingw64-winpthreads = 0-0.2.20120224
+
 %description -n mingw64-pthreads
 The POSIX 1003.1-2001 standard defines an application programming
 interface (API) for writing multithreaded applications. This interface
@@ -205,6 +213,9 @@ ln -s libpthreadGC2.a $RPM_BUILD_ROOT%{mingw64_libdir}/libpthread.a
 
 
 %changelog
+* Fri Mar  9 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.8.0-20.20110511cvs
+- Fix upgrade path when upgrading from the testing repo to F17
+
 * Tue Mar  6 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.8.0-19.20110511cvs
 - Made the package compliant with the new MinGW packaging guidelines
 - Added win64 support


More information about the scm-commits mailing list