Tom Stellard 2020-07-14 02:17:44 +00:00
parent 9efe171b21
commit ae20e03421
1 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,7 @@
Name: ocaml
Version: 4.11.0
Release: 0.5.dev2%{?dist}
Release: 0.6.dev2%{?dist}
Summary: OCaml compiler and programming environment
@ -181,7 +181,7 @@ autoconf --force
%define _lto_cflags %{nil}
%ifnarch %{no_parallel_build_arches}
make="make %{?_smp_mflags}"
make="%make_build"
%else
unset MAKEFLAGS
make=make
@ -232,7 +232,7 @@ make -j1 all ||:
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
perl -pi -e "s|^$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{_libdir}/ocaml/ld.conf
echo %{version} > $RPM_BUILD_ROOT%{_libdir}/ocaml/fedora-ocaml-release
@ -381,6 +381,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
%changelog
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 4.11.0-0.6.dev2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 4.11.0-0.5.dev2.fc33
- Disable LTO