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