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