[packages/ocaml-easy-format] - update META file location - rel 9

baggins baggins at pld-linux.org
Sat Mar 27 20:39:08 CET 2021


commit c789907513d3c4f3c21e60f9aa2a1925c84dc202
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 27 20:38:51 2021 +0100

    - update META file location
    - rel 9

 ocaml-easy-format.spec | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/ocaml-easy-format.spec b/ocaml-easy-format.spec
index 82a5eba..2606184 100644
--- a/ocaml-easy-format.spec
+++ b/ocaml-easy-format.spec
@@ -11,7 +11,7 @@ Summary:	easy(ier) pretty printing for OCaml
 Summary(pl.UTF-8):	Łatwiejsze ładne wypisywanie dla OCamla
 Name:		ocaml-%{module}
 Version:	1.0.2
-Release:	8
+Release:	9
 License:	BSD
 Group:		Libraries
 Source0:	http://mjambon.com/releases/easy-format/%{module}-%{version}.tar.gz
@@ -81,14 +81,6 @@ install -d $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}
-cat <<EOF >> $OCAMLFIND_DESTDIR/%{module}/META
-directory="+%{module}"
-EOF
-ln -sr $OCAMLFIND_DESTDIR/%{module}/META \
-	$RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -100,7 +92,6 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with ocaml_opt}
 %attr(755,root,root) %{_libdir}/ocaml/%{module}/easy_format.cmxs
 %endif
-%{_libdir}/ocaml/site-lib/%{module}
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-easy-format.git/commitdiff/c789907513d3c4f3c21e60f9aa2a1925c84dc202



More information about the pld-cvs-commit mailing list