Remove bcond
This is not supported until we get RPM 4.18 built. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
622c84ff7a
commit
6bcadd0d82
@ -72,8 +72,6 @@ BuildRequires: gettext-devel
|
||||
%global with_sysusers 1
|
||||
%endif
|
||||
|
||||
%bcond with_debuginfod_url 1
|
||||
|
||||
# Patches
|
||||
|
||||
# For s390x... FDO package notes are bogus.
|
||||
@ -277,11 +275,7 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
|
||||
|
||||
|
||||
trap 'cat config.log' EXIT
|
||||
%if %{with with_debuginfod_url}
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.fedoraproject.org/
|
||||
%else
|
||||
%configure CFLAGS="$RPM_OPT_FLAGS"
|
||||
%endif
|
||||
trap '' EXIT
|
||||
%make_build
|
||||
|
||||
@ -405,9 +399,7 @@ fi
|
||||
%{_mandir}/man1/debuginfod-find.1*
|
||||
%{_mandir}/man7/debuginfod*.7*
|
||||
%config(noreplace) %{_sysconfdir}/profile.d/*
|
||||
%if %{with with_debuginfod_url}
|
||||
%config(noreplace) %{_sysconfdir}/debuginfod/*
|
||||
%endif
|
||||
|
||||
%files debuginfod-client-devel
|
||||
%{_libdir}/pkgconfig/libdebuginfod.pc
|
||||
@ -448,6 +440,7 @@ exit 0
|
||||
%changelog
|
||||
* Thu Aug 04 2022 David Abdurachmanov <davidlt@rivosinc.com> - 0.187-7.0.riscv64
|
||||
- Disable debug packages on riscv64
|
||||
- Remove bcond
|
||||
|
||||
* Wed Jul 27 2022 Amit Shah <amitshah@fedoraproject.org> - 0.187-7
|
||||
- Allow building without default debuginfod URL
|
||||
|
Loading…
x
Reference in New Issue
Block a user