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

baggins baggins at pld-linux.org
Sat Mar 27 21:40:37 CET 2021


commit de96650cb126f90bf07bdd9250faa2aa0c25e38d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 27 21:40:14 2021 +0100

    - update META file location
    - rel 3

 ocaml-yojson.spec | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/ocaml-yojson.spec b/ocaml-yojson.spec
index 99f4aff..a58798b 100644
--- a/ocaml-yojson.spec
+++ b/ocaml-yojson.spec
@@ -12,7 +12,7 @@
 Summary:	JSON library for OCaml
 Name:		ocaml-%{module}
 Version:	1.7.0
-Release:	2
+Release:	3
 License:	BSD
 Group:		Libraries
 Source0:	https://github.com/ocaml-community/yojson/releases/download/%{version}/%{module}-%{version}.tbz
@@ -73,12 +73,6 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/ocaml}
 	PREFIX=$RPM_BUILD_ROOT%{_prefix} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cat <<EOF >> $RPM_BUILD_ROOT%{_libdir}/ocaml/%{module}/META
-directory="+%{module}"
-EOF
-install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/%{module}
-ln -sr $RPM_BUILD_ROOT%{_libdir}/ocaml/{,site-lib/}%{module}/META
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -92,7 +86,6 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with ocaml_opt}
 %{_libdir}/ocaml/%{module}/*.cmxs
 %endif
-%{_libdir}/ocaml/site-lib/%{module}
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-yojson.git/commitdiff/de96650cb126f90bf07bdd9250faa2aa0c25e38d



More information about the pld-cvs-commit mailing list