X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-zarith.git;a=blobdiff_plain;f=ocaml-zarith.spec;h=2bcbf24703fb88921646a222e5bedef479f90f01;hp=50c222baaab194934c9e3d5f7b436cf0a2bd9ab7;hb=5c4f80f821fb55ff0f9c03c81ad1276683f4e0b2;hpb=f34269df2977d0258fe4876195a7014d250f98c0 diff --git a/ocaml-zarith.spec b/ocaml-zarith.spec index 50c222b..2bcbf24 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: 1 +Release: 2 License: LGPL v2 with linking exception Group: Applications/Math #Source0Download: https://github.com/ocaml/Zarith/releases @@ -75,13 +75,12 @@ install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -# move to dir pld ocamlfind looks install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module} -%{__mv} $OCAMLFIND_DESTDIR/%{module}/META \ - $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module} -cat <> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module}/META +cat <> $OCAMLFIND_DESTDIR/%{module}/META directory="+%{module}" EOF +ln -sr $OCAMLFIND_DESTDIR/%{module}/META \ + $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module} # not required with system package manager %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.so.owner @@ -94,6 +93,7 @@ rm -rf $RPM_BUILD_ROOT %doc Changes LICENSE README.md %attr(755,root,root) %{_libdir}/ocaml/stublibs/dllzarith.so %dir %{_libdir}/ocaml/%{module} +%{_libdir}/ocaml/%{module}/META %if %{with ocaml_opt} %attr(755,root,root) %{_libdir}/ocaml/%{module}/zarith.cmxs %endif