Restore the original macros

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2020-04-01 19:03:59 +03:00
parent 5c861be61b
commit e4fe82f63b
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 0 additions and 12 deletions

12
macros
View File

@ -272,15 +272,3 @@ print(result)
# 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")
# override %check sections and disable them (exit 0) while we are
# bootstrapping Fedora RISC-V
%__spec_check_pre exit 0
# override /usr/lib/rpm/macros.d/macros.perl instead of modifying it in order
# to keep custom changes in one place (and no need to rebuild perl again).
#
# disable perl_default_subpackage_tests, which adds test suite subpackage to
# perl packages. It uses __spec_check_pre for it, which we also use above thus
# causing a breaking conflict.
%perl_default_subpackage_tests %{nil}