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
This commit is contained in:
Dirk Mueller 2017-12-07 13:23:42 +00:00 committed by Git OBS Bridge
parent 60e9de008a
commit 07543a9201
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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