]> git.pld-linux.org Git - packages/ocaml-yojson.git/commitdiff
- update META file location auto/th/ocaml-yojson-1.7.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Mar 2021 20:40:14 +0000 (21:40 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Mar 2021 20:40:14 +0000 (21:40 +0100)
- rel 3

ocaml-yojson.spec

index 99f4aff0ccfd5dc8c2a7b4542f90f4db15a19a04..a58798bc9f78f537505637437fc2899fe81618af 100644 (file)
@@ -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)
This page took 0.093421 seconds and 4 git commands to generate.