14
0
forked from pool/python-discid

Accepting request 554996 from home:dimstar:Factory

Fix build with RPM 4.14

OBS-URL: https://build.opensuse.org/request/show/554996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discid?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2017-12-07 19:58:06 +00:00
committed by Git OBS Bridge
parent 61f593e031
commit 9768439025
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 7 11:17:42 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 Oct 5 14:08:27 UTC 2017 - toddrme2178@gmail.com

View File

@@ -34,7 +34,7 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(libdiscid) >= 0.2.2
BuildRequires: python-rpm-macros
# no automatic requires since libdiscid is not linked
Requires: %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf '%{NAME} >= %{VERSION}')
Requires: %(rpm -qf $(readlink -qne %{_libdir}/libdiscid.so) --qf '%%{NAME} >= %%{VERSION}')
BuildArch: noarch
%python_subpackages