Use autosetup, remove old setup line.

This commit is contained in:
Richard W.M. Jones 2019-12-05 13:08:57 +00:00
parent 643d094358
commit 14856c2d7f

View File

@ -74,6 +74,7 @@ Patch0011: 0011-configure-Remove-incorrect-assumption-about-cross-co.patch
# https://github.com/nojb/riscv-ocaml # https://github.com/nojb/riscv-ocaml
Patch0012: 0012-Add-riscv64-backend.patch Patch0012: 0012-Add-riscv64-backend.patch
BuildRequires: git
BuildRequires: gcc BuildRequires: gcc
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: binutils-devel BuildRequires: binutils-devel
@ -186,8 +187,7 @@ may not be portable between versions.
%prep %prep
%setup -q -T -b 0 -n %{name}-%{version}%{rcver} %autosetup -S git -n %{name}-%{version}%{rcver}
%autopatch -p1
# Patches touch configure.ac, so rebuild it: # Patches touch configure.ac, so rebuild it:
autoconf --force autoconf --force
@ -391,6 +391,7 @@ find $RPM_BUILD_ROOT \( -name '*.cmt' -o -name '*.cmti' \) -a -delete
%changelog %changelog
* Thu Dec 05 2019 Richard W.M. Jones <rjones@redhat.com> - 4.09.0-1 * Thu Dec 05 2019 Richard W.M. Jones <rjones@redhat.com> - 4.09.0-1
- OCaml 4.09.0 final. - OCaml 4.09.0 final.
- Use autosetup, remove old setup line.
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 4.08.1-1 * Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 4.08.1-1
- OCaml 4.08.1 final. - OCaml 4.08.1 final.