]> git.pld-linux.org Git - packages/ocaml-zarith.git/commitdiff
- update META file location auto/th/ocaml-zarith-1.12-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Mar 2021 20:29:12 +0000 (21:29 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Mar 2021 20:29:12 +0000 (21:29 +0100)
- rel 3

ocaml-zarith.spec

index 2bcbf24703fb88921646a222e5bedef479f90f01..4e728cca80f4df212e40acbcf1d8360217994ad7 100644 (file)
@@ -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 <<EOF >> $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)
This page took 0.073272 seconds and 4 git commands to generate.