SPECS: ocaml-pcre.spec - updated to existing version (5.11.2), spe...

qboosh qboosh at pld-linux.org
Wed Dec 20 23:08:47 CET 2006


Author: qboosh                       Date: Wed Dec 20 22:08:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to existing version (5.11.2), spec cleanup

---- Files affected:
SPECS:
   ocaml-pcre.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/ocaml-pcre.spec
diff -u SPECS/ocaml-pcre.spec:1.15 SPECS/ocaml-pcre.spec:1.16
--- SPECS/ocaml-pcre.spec:1.15	Wed Dec 20 22:58:52 2006
+++ SPECS/ocaml-pcre.spec	Wed Dec 20 23:08:36 2006
@@ -3,12 +3,12 @@
 Summary:	PCRE binding for OCaml
 Summary(pl):	Wiązania PCRE dla OCamla
 Name:		ocaml-pcre
-Version:	5.10.1
-Release:	6
+Version:	5.11.2
+Release:	1
 License:	LGPL
 Group:		Libraries
 Source0:	http://www.ocaml.info/ocaml_sources/pcre-ocaml-%{version}.tar.bz2
-# Source0-md5:	d53864f6a0436e40c3cdedcdc8352aba
+# Source0-md5:	ba3ad47c971ef1eb7f5b7006462f321f
 URL:		http://www.ocaml.info/home/ocaml_sources.html#toc13
 BuildRequires:	ocaml >= %{ocaml_ver}
 BuildRequires:	ocaml-findlib
@@ -61,14 +61,17 @@
 %setup -q -n pcre-ocaml-%{version}
 
 %build
-
-%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} -fPIC -DPIC" all
+%{__make} all \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -fPIC -DPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{site-lib/pcre,stublibs}
 
-%{__make} install OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+%{__make} install \
+	OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+
 install lib/pcre.cmx $RPM_BUILD_ROOT%{_libdir}/ocaml/pcre
 rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/pcre/*.mli
 
@@ -86,16 +89,17 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README Changes
 %dir %{_libdir}/ocaml/pcre
 %attr(755,root,root) %{_libdir}/ocaml/stublibs/*.so
 
 %files devel
 %defattr(644,root,root,755)
-%doc lib/*.mli README Changes
+%doc lib/*.mli
 %{_libdir}/ocaml/pcre/*.cm[ixa]*
 %{_libdir}/ocaml/pcre/*.a
-%{_examplesdir}/%{name}-%{version}
 %{_libdir}/ocaml/site-lib/pcre
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/12/20 22:08:36  qboosh
+- updated to existing version (5.11.2), spec cleanup
+
 Revision 1.15  2006/12/20 21:58:52  qboosh
 - updated URLs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ocaml-pcre.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list