diff --git a/debian/changelog b/debian/changelog index f62fc94d..49be499f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ gnome-shell-extensions (3.2.0-2) UNRELEASED; urgency=low * gnome-shell-extensions.gsettings-override: enable the alternative status menu by default. Closes: #648112. + * Use ${gnome:Version} to generate strict dependencies, it’s very + unlikely that extensions remain compatible after a major upgrade. -- Josselin Mouette Thu, 17 Nov 2011 01:35:06 +0100 diff --git a/debian/control b/debian/control index 4c91838d..3b839a37 100644 --- a/debian/control +++ b/debian/control @@ -22,7 +22,8 @@ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/experimental/gn Package: gnome-shell-extensions Architecture: all Depends: ${misc:Depends}, - gnome-shell (>= 3.2.0), + gnome-shell (>= ${gnome:Version}), + gnome-shell (<< ${gnome:NextVersion}), gir1.2-gtop-2.0 Description: Extensions to extend functionality of GNOME Shell (common files) The GNOME Shell redefines user interactions with the GNOME desktop. In diff --git a/debian/control.in b/debian/control.in index 24ed02e4..5289a0cd 100644 --- a/debian/control.in +++ b/debian/control.in @@ -17,7 +17,8 @@ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/experimental/gn Package: gnome-shell-extensions Architecture: all Depends: ${misc:Depends}, - gnome-shell (>= 3.2.0), + gnome-shell (>= ${gnome:Version}), + gnome-shell (<< ${gnome:NextVersion}), gir1.2-gtop-2.0 Description: Extensions to extend functionality of GNOME Shell (common files) The GNOME Shell redefines user interactions with the GNOME desktop. In diff --git a/debian/rules b/debian/rules index 422fd130..cb0aaf2a 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk