Use proper building flags
Use the distribution building flags. Also remove the call to %set_build_flags: it's uncessary as it's called automatically before %build. Resolves: RHEL-33502 Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This commit is contained in:
parent
b222df14c6
commit
974b9d2eff
@ -5,7 +5,7 @@
|
||||
|
||||
Name: libtraceevent
|
||||
Version: 1.8.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: LGPL-2.1-only AND LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later
|
||||
Summary: Library to parse raw trace event formats
|
||||
|
||||
@ -38,9 +38,8 @@ Development headers of %{name}-libs
|
||||
|
||||
%build
|
||||
MANPAGE_DOCBOOK_XSL=`rpm -ql docbook-style-xsl | grep manpages/docbook.xsl`
|
||||
%set_build_flags
|
||||
# Parallel build does not work
|
||||
make -O -j1 V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
make -O -j1 V=1 VERBOSE=1 CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" prefix=%{_prefix} libdir=%{_libdir} MANPAGE_XSL=%{MANPAGE_DOCBOOK_XSL} all doc
|
||||
|
||||
%install
|
||||
%make_install prefix=%{_prefix} libdir=%{_libdir} install doc-install
|
||||
@ -64,6 +63,9 @@ rm -rf %{buildroot}/%{_libdir}/libtraceevent.a
|
||||
%{_libdir}/pkgconfig/libtraceevent.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jun 18 2024 Jerome Marchand <jmarchan@redhat.com> - 1.8.2-3
|
||||
- Use the distribution building flags (RHEL-33502)
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user