Drop %requires_eq
.
This macro calls `rpm` on background, which is not good idea. Luckily, it seems to be used just by samba package, so it should not cause any substantial issues. More details at \[[1]\] where the guideline to ban `rpm` call during build is discussed. [1]: https://pagure.io/packaging-committee/pull-request/954
This commit is contained in:
parent
cecab66c5d
commit
924b9f3be4
3
macros
3
macros
@ -269,6 +269,3 @@ print(result)
|
||||
%global __find_provides /bin/sh -c "%{?__filter_prov_cmd} %{__deploop P} %{?__filter_from_prov}" \
|
||||
%global __find_requires /bin/sh -c "%{?__filter_req_cmd} %{__deploop R} %{?__filter_from_req}" \
|
||||
}
|
||||
|
||||
# Temporary shelter for rpm 4.15 refugees
|
||||
%requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||
|
Loading…
Reference in New Issue
Block a user