From d545bb4e9e697f105489b1f2740a4f412853d88d3bf3a6e8a83f94965085ff6b Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Fri, 8 Dec 2017 02:16:52 +0000 Subject: [PATCH] Accepting request 554973 from home:dimstar:Factory Fix build with RPM 4.14 OBS-URL: https://build.opensuse.org/request/show/554973 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=79 --- clisp.changes | 6 ++++++ clisp.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/clisp.changes b/clisp.changes index e8c70c8..ed71b7d 100644 --- a/clisp.changes +++ b/clisp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 7 11:04:09 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'. + ------------------------------------------------------------------- Thu Nov 9 08:36:26 UTC 2017 - dimstar@opensuse.org diff --git a/clisp.spec b/clisp.spec index 41bfcf3..dd8bbd1 100644 --- a/clisp.spec +++ b/clisp.spec @@ -78,7 +78,7 @@ BuildRequires: xorg-x11-devel # to BuildRequires # %define debug no -%global rlver %(rpm -q --qf '%{VERSION}' readline-devel | sed 's/\\.//g') +%global rlver %(rpm -q --qf '%%{VERSION}' readline-devel | sed 's/\\.//g') Requires(pre): vim Requires(pre): vim-data Requires: ffcall