[packages/ocaml-lablgtk2] - update META file location - rel 2
baggins
baggins at pld-linux.org
Sat Mar 27 20:23:50 CET 2021
commit ef37d594868e82ee69631cd9415a7750cd205bbb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Mar 27 20:23:17 2021 +0100
- update META file location
- rel 2
ocaml-lablgtk2.spec | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ocaml-lablgtk2.spec b/ocaml-lablgtk2.spec
index 95a8df2..0d9ce6f 100644
--- a/ocaml-lablgtk2.spec
+++ b/ocaml-lablgtk2.spec
@@ -15,7 +15,7 @@ Summary: GTK+ binding for OCaml
Summary(pl.UTF-8): Wiązania GTK+ dla OCamla
Name: ocaml-lablgtk2
Version: 2.18.11
-Release: 1
+Release: 2
License: LGPL with linking exceptions
Group: Libraries
Source0: https://github.com/garrigue/lablgtk/archive/%{version}/lablgtk-%{version}.tar.gz
@@ -308,7 +308,7 @@ lablgtk.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/ocaml/{stublibs,site-lib/lablgtk2},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/ocaml/stublibs,%{_examplesdir}/%{name}-%{version}}
%{__make} old-install \
INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2 \
@@ -323,9 +323,6 @@ cp -r examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
gzip -9nf $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2/*.mli
mv $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2/*.gz .
-%{__sed} -i -e '3adirectory = "+lablgtk2"' $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2/META
-%{__mv} $RPM_BUILD_ROOT%{_libdir}/ocaml/lablgtk2/META $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/lablgtk2/META
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -333,11 +330,11 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc CHANGES COPYING README
%dir %{_libdir}/ocaml/lablgtk2
+%{_libdir}/ocaml/lablgtk2/META
%{_libdir}/ocaml/lablgtk2/lablgtk.cma
%if %{with ocaml_opt}
%attr(755,root,root) %{_libdir}/ocaml/lablgtk2/lablgtk.cmxs
%endif
-%{_libdir}/ocaml/site-lib/lablgtk2
%attr(755,root,root) %{_libdir}/ocaml/stublibs/dlllablgtk2.so
%files devel
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-lablgtk2.git/commitdiff/ef37d594868e82ee69631cd9415a7750cd205bbb
More information about the pld-cvs-commit
mailing list