commit 2be8dd269b87aa172fbe6053d30bb0c21782c894
Author: Jan Rękorajski <[email protected]>
Date:   Sun Mar 21 22:56:46 2021 +0100

    - ffir META location
    - rel 8

 ocaml-easy-format.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/ocaml-easy-format.spec b/ocaml-easy-format.spec
index 502a9bf..82a5eba 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:       7
+Release:       8
 License:       BSD
 Group:         Libraries
 Source0:       
http://mjambon.com/releases/easy-format/%{module}-%{version}.tar.gz
@@ -83,11 +83,11 @@ install -d $OCAMLFIND_DESTDIR/stublibs
 
 # 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 <<EOF >> $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module}/META
+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
@@ -95,6 +95,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %dir %{_libdir}/ocaml/%{module}
+%{_libdir}/ocaml/%{module}/META
 %{_libdir}/ocaml/%{module}/easy_format.cmo
 %if %{with ocaml_opt}
 %attr(755,root,root) %{_libdir}/ocaml/%{module}/easy_format.cmxs
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to