From 07543a92015f15c9406b5f5a4d3f31d1621472966094da654caa758e4aa9a65f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Dec 2017 13:23:42 +0000 Subject: [PATCH] Accepting request 554972 from home:dimstar:Factory - Escape the usage of %{VERSION} when calling out to rpm. RPM 4.14 has %{VERSION} defined as 'the main packages version'. OBS-URL: https://build.opensuse.org/request/show/554972 OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=278 --- 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