[gnome-python2-extras/f14] Define frozen_release and add an explanation text

Kalev Lember kalev at fedoraproject.org
Sun Oct 23 16:25:06 UTC 2011


commit 7cbae22ef8fc8873c047ee68bf465721c729bc96
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Oct 23 19:22:44 2011 +0300

    Define frozen_release and add an explanation text
    
    ... to avoid breaking the upgrade path to F15 with rpmdev-bumpspec.

 gnome-python2-extras.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/gnome-python2-extras.spec b/gnome-python2-extras.spec
index 8328551..e422844 100644
--- a/gnome-python2-extras.spec
+++ b/gnome-python2-extras.spec
@@ -13,11 +13,19 @@
 %define enable_gda 1
 %define enable_gdl 1
 
+# Define the release here in order to preserve the upgrade path to F15.
+# xulrunner maintainers regularly rebuild dependant packages and use
+# rpmdev-bumpspec; the define here makes sure rpmdev-bumpspec won't touch the
+# leftmost digit.
+# When doing rebuilds, do not change frozen_release, but instead bump the
+# rightmost digit in the Release: tag.
+%define frozen_release 34%{?dist}
+
 ### Abstract ###
 
 Name: gnome-python2-extras
 Version: 2.25.3
-Release: 34%{?dist}.1
+Release: %{frozen_release}.1
 License: GPLv2+ and LGPLv2+
 Group: Development/Languages
 Summary: Additional PyGNOME Python extension modules


More information about the scm-commits mailing list