]> git.pld-linux.org Git - packages/ocaml-curl.git/blobdiff - ocaml-curl.spec
- moved examples to examplesdir
[packages/ocaml-curl.git] / ocaml-curl.spec
index 952853e58789cb57e039b65ea980eb9704bee417..eaa396619510f34d4586b9e401caa02f3c2df13d 100644 (file)
@@ -94,6 +94,8 @@ EOF
 
 # Make clean in the examples dir so our docs don't contain binaries.
 %{__make} -C examples clean
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -111,7 +113,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc examples/*
 %{_libdir}/ocaml/curl/libcurl-helper.a
 %{_libdir}/ocaml/curl/*.cmi
 %{_libdir}/ocaml/curl/*.cmo
@@ -124,3 +125,4 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/curl/*.cmxa
 %{_libdir}/ocaml/curl/*.o
 %endif
+%{_examplesdir}/%{name}-%{version}
This page took 0.115639 seconds and 4 git commands to generate.