projects
/
packages
/
ocaml-curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- updated opt patch
[packages/ocaml-curl.git]
/
ocaml-curl.spec
diff --git
a/ocaml-curl.spec
b/ocaml-curl.spec
index ffa199a53121fcf4610b489f4bf2121b4ec4b5b4..355d4eff29d36ac0891aa8b1d27d4f67ee07889a 100644
(file)
--- a/
ocaml-curl.spec
+++ b/
ocaml-curl.spec
@@
-45,7
+45,7
@@
developing applications that use %{name}.
%prep
%setup -q -n ocurl-%{version}
%prep
%setup -q -n ocurl-%{version}
-
#
%patch0 -p1
+%patch0 -p1
%build
%configure
%build
%configure
@@
-62,8
+62,7
@@
install -d $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
# Install curl.mli
cp -p curl.mli $OCAMLFIND_DESTDIR/curl
# Install curl.mli
cp -p curl.mli $OCAMLFIND_DESTDIR/curl
-install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl
-cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl/META <<EOF
+cat > $RPM_BUILD_ROOT%{_libdir}/ocaml/curl/META <<EOF
requires = ""
version = "%{version}"
directory = "+curl"
requires = ""
version = "%{version}"
directory = "+curl"
@@
-72,6
+71,9
@@
archive(native) = "curl.cmxa"
linkopts = ""
EOF
linkopts = ""
EOF
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/curl
+ln -sr $RPM_BUILD_ROOT%{_libdir}/ocaml/{curl,site-lib/curl}/META
+
# Make clean in the examples dir so our docs don't contain binaries.
%{__make} -C examples clean
# Make clean in the examples dir so our docs don't contain binaries.
%{__make} -C examples clean
This page took
0.344445 seconds
and
4
git commands to generate.