[packages/ocaml-curl] - moved examples to examplesdir
qboosh
qboosh at pld-linux.org
Sat Dec 25 11:39:24 CET 2021
commit aa5218930ce57becefa385d46e4dcbb46262ad62
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 25 11:39:55 2021 +0100
- moved examples to examplesdir
ocaml-curl.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ocaml-curl.spec b/ocaml-curl.spec
index 952853e..eaa3966 100644
--- a/ocaml-curl.spec
+++ b/ocaml-curl.spec
@@ -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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-curl.git/commitdiff/aa5218930ce57becefa385d46e4dcbb46262ad62
More information about the pld-cvs-commit
mailing list