From 82ded54cc8b58958fcb74725fb166d78a27aaa79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 27 Mar 2021 21:29:12 +0100 Subject: [PATCH] - update META file location - rel 3 --- ocaml-zarith.spec | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ocaml-zarith.spec b/ocaml-zarith.spec index 2bcbf24..4e728cc 100644 --- a/ocaml-zarith.spec +++ b/ocaml-zarith.spec @@ -12,7 +12,7 @@ Summary: Zarith: arbitrary-precision integers Summary(pl.UTF-8): Zarith - liczby całkowite dowolnej precyzji Name: ocaml-zarith Version: 1.12 -Release: 2 +Release: 3 License: LGPL v2 with linking exception Group: Applications/Math #Source0Download: https://github.com/ocaml/Zarith/releases @@ -75,12 +75,7 @@ install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module} -cat <> $OCAMLFIND_DESTDIR/%{module}/META -directory="+%{module}" -EOF -ln -sr $OCAMLFIND_DESTDIR/%{module}/META \ - $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module} +install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/ # not required with system package manager %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.so.owner @@ -97,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT %if %{with ocaml_opt} %attr(755,root,root) %{_libdir}/ocaml/%{module}/zarith.cmxs %endif -%{_libdir}/ocaml/site-lib/%{module} %files devel %defattr(644,root,root,755) -- 2.44.0