[packages/ocaml-pcre] - update META file location - rel 2

baggins baggins at pld-linux.org
Sat Mar 27 21:22:16 CET 2021


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

    - update META file location
    - rel 2

 ocaml-pcre.spec | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/ocaml-pcre.spec b/ocaml-pcre.spec
index dc8d040..b25e3a6 100644
--- a/ocaml-pcre.spec
+++ b/ocaml-pcre.spec
@@ -11,7 +11,7 @@ Summary:	PCRE binding for OCaml
 Summary(pl.UTF-8):	Wiązania PCRE dla OCamla
 Name:		ocaml-pcre
 Version:	7.4.6
-Release:	1
+Release:	2
 License:	LGPL v2.1+ with OCaml linking exception
 Group:		Libraries
 Source0:	https://github.com/mmottl/pcre-ocaml/archive/%{version}/pcre-ocaml-%{version}.tar.gz
@@ -78,7 +78,7 @@ dune build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{site-lib/pcre,stublibs}
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
 
 dune install --destdir=$RPM_BUILD_ROOT
 
@@ -88,10 +88,6 @@ dune install --destdir=$RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-echo 'directory = "+pcre"' >> $RPM_BUILD_ROOT%{_libdir}/ocaml/pcre/META
-ln -sr $RPM_BUILD_ROOT%{_libdir}/ocaml/pcre/META \
-	$RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/pcre
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -119,5 +115,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/pcre/pcre.cmx
 %{_libdir}/ocaml/pcre/pcre.cmxa
 %endif
-%{_libdir}/ocaml/site-lib/pcre
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-pcre.git/commitdiff/f6ff52ba166da71af6ccfcc43a71b661519470bf



More information about the pld-cvs-commit mailing list