summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2021-05-24 09:36:12 +0200
committerGitHub <noreply@github.com>2021-05-24 09:36:12 +0200
commitb7d0b3ea750e07dd75bcdeab20ef29c70812daef (patch)
tree35c8b17e5e0681eb3a12c0a7f849b0ed2caa4280 /var
parent4153c2e3191f9856123e6a6a5ceae883493c23ad (diff)
downloadspack-b7d0b3ea750e07dd75bcdeab20ef29c70812daef.tar.gz
spack-b7d0b3ea750e07dd75bcdeab20ef29c70812daef.tar.bz2
spack-b7d0b3ea750e07dd75bcdeab20ef29c70812daef.tar.xz
spack-b7d0b3ea750e07dd75bcdeab20ef29c70812daef.zip
gdk-pixbuf: restrict patch application to meson packages (#23838)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gdk-pixbuf/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
index 25827c9795..0a9492653a 100644
--- a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
+++ b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
@@ -49,7 +49,9 @@ class GdkPixbuf(Package):
# Replace the docbook stylesheet URL with the one that our
# docbook-xsl package uses/recognizes.
- patch('docbook-cdn.patch', when='+man')
+ # Pach modifies meson build files, so it only applies to versions that
+ # depend on meson.
+ patch('docbook-cdn.patch', when='@2.37.0:+man')
def url_for_version(self, version):
url = "https://ftp.acc.umu.se/pub/gnome/sources/gdk-pixbuf/{0}/gdk-pixbuf-{1}.tar.xz"