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
|
%global with_sysusers 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond with_debuginfod_url 1
|
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
|
|
||||||
# For s390x... FDO package notes are bogus.
|
# For s390x... FDO package notes are bogus.
|
||||||
|
@ -277,11 +275,7 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
|
||||||
|
|
||||||
|
|
||||||
trap 'cat config.log' EXIT
|
trap 'cat config.log' EXIT
|
||||||
%if %{with with_debuginfod_url}
|
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.fedoraproject.org/
|
%configure CFLAGS="$RPM_OPT_FLAGS" --enable-debuginfod-urls=https://debuginfod.fedoraproject.org/
|
||||||
%else
|
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
%endif
|
|
||||||
trap '' EXIT
|
trap '' EXIT
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
@ -405,9 +399,7 @@ fi
|
||||||
%{_mandir}/man1/debuginfod-find.1*
|
%{_mandir}/man1/debuginfod-find.1*
|
||||||
%{_mandir}/man7/debuginfod*.7*
|
%{_mandir}/man7/debuginfod*.7*
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/*
|
%config(noreplace) %{_sysconfdir}/profile.d/*
|
||||||
%if %{with with_debuginfod_url}
|
|
||||||
%config(noreplace) %{_sysconfdir}/debuginfod/*
|
%config(noreplace) %{_sysconfdir}/debuginfod/*
|
||||||
%endif
|
|
||||||
|
|
||||||
%files debuginfod-client-devel
|
%files debuginfod-client-devel
|
||||||
%{_libdir}/pkgconfig/libdebuginfod.pc
|
%{_libdir}/pkgconfig/libdebuginfod.pc
|
||||||
|
@ -448,6 +440,7 @@ exit 0
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 04 2022 David Abdurachmanov <davidlt@rivosinc.com> - 0.187-7.0.riscv64
|
* Thu Aug 04 2022 David Abdurachmanov <davidlt@rivosinc.com> - 0.187-7.0.riscv64
|
||||||
- Disable debug packages on riscv64
|
- Disable debug packages on riscv64
|
||||||
|
- Remove bcond
|
||||||
|
|
||||||
* Wed Jul 27 2022 Amit Shah <amitshah@fedoraproject.org> - 0.187-7
|
* Wed Jul 27 2022 Amit Shah <amitshah@fedoraproject.org> - 0.187-7
|
||||||
- Allow building without default debuginfod URL
|
- Allow building without default debuginfod URL
|
||||||
|
|
Loading…
Reference in New Issue