[gqview/f13/master] guard against unexpected Release bumps

Michael Schwendt mschwendt at fedoraproject.org
Mon Sep 13 15:19:11 UTC 2010


commit ce7fb58198b252f1e64eb4b61814395ae6e6f108
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Mon Sep 13 17:19:03 2010 +0200

    guard against unexpected Release bumps

 gqview.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gqview.spec b/gqview.spec
index 652807f..0fe47ca 100644
--- a/gqview.spec
+++ b/gqview.spec
@@ -5,6 +5,7 @@
 Summary: Image browser and viewer
 Name: gqview
 Version: 2.0.4
+# (!) Keep Release below 13 for the "Obsoletes" since Fedora 14.
 Release: 12
 License: GPLv2
 Group: User Interface/X
@@ -24,6 +25,10 @@ editors, previewing images using thumbnails, and zoom.
 
 
 %prep
+# see above
+%if "%release" >= "13"
+exit -1
+%endif
 %setup -q
 %patch1 -p1 -b .desktop
 %patch2 -p1 -b .editors


More information about the scm-commits mailing list