[packages/ocaml-zarith] - update META file location - rel 3

baggins baggins at pld-linux.org
Sat Mar 27 21:29:28 CET 2021


commit 82ded54cc8b58958fcb74725fb166d78a27aaa79
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 27 21:29:12 2021 +0100

    - 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 <<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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-zarith.git/commitdiff/82ded54cc8b58958fcb74725fb166d78a27aaa79



More information about the pld-cvs-commit mailing list