From db35f2d044b282ec429492c828bd7f072ec546231833193e71331e8745e5c9ef Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 10 Dec 2017 17:14:22 +0000 Subject: [PATCH] Accepting request 555032 from filesystems OBS-URL: https://build.opensuse.org/request/show/555032 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=89 --- btrfsprogs.changes | 6 ++++++ btrfsprogs.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/btrfsprogs.changes b/btrfsprogs.changes index ec53606..74141a1 100644 --- a/btrfsprogs.changes +++ b/btrfsprogs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 7 11:03:37 UTC 2017 - dimstar@opensuse.org + +- Escape the usage of %{VERSION} when calling out to rpm. + RPM 4.14 has %{VERSION} defined as 'the main packages version'. + ------------------------------------------------------------------- Wed Nov 22 14:41:57 UTC 2017 - jeffm@suse.com diff --git a/btrfsprogs.spec b/btrfsprogs.spec index 57f21e7..0a36fe2 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -17,7 +17,7 @@ %define udev_with_btrfs_builtin 190 -%define udev_version %(rpm -q --queryformat %{VERSION} udev) +%define udev_version %(rpm -q --queryformat %%{VERSION} udev) %define package_udev_rules %{udev_version} >= %{udev_with_btrfs_builtin} # enable building of btrfsprogs-static