SPECS: ocaml-ulex.spec - release 2 - packaged properly

baggins baggins at pld-linux.org
Sun Dec 11 17:27:46 CET 2005


Author: baggins                      Date: Sun Dec 11 16:27:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2
- packaged properly

---- Files affected:
SPECS:
   ocaml-ulex.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ocaml-ulex.spec
diff -u SPECS/ocaml-ulex.spec:1.1 SPECS/ocaml-ulex.spec:1.2
--- SPECS/ocaml-ulex.spec:1.1	Sun Dec 11 17:23:49 2005
+++ SPECS/ocaml-ulex.spec	Sun Dec 11 17:27:41 2005
@@ -3,7 +3,7 @@
 Summary(pl):	Lexer dla OCamla i Unicode
 Name:		ocaml-ulex
 Version:	0.8
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Tools
 Source0:	http://www.cduce.org/download/ulex-%{version}.tar.gz
@@ -26,11 +26,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/ocaml
+install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/ulex
 
 %{__make} install \
 	OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
 
+echo 'directory = "+ulex"' \
+	>> $RPM_BUILD_ROOT%{_libdir}/ocaml/ulex/META
+mv -f $RPM_BUILD_ROOT%{_libdir}/ocaml/ulex/META \
+	$RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib/ulex/META
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -38,7 +43,8 @@
 %defattr(644,root,root,755)
 %doc README
 %dir %{_libdir}/ocaml/ulex
-%{_libdir}/ocaml/ulex/*
+%{_libdir}/ocaml/ulex/*.cm*
+%{_libdir}/ocaml/site-lib/ulex
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -46,6 +52,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/12/11 16:27:41  baggins
+- release 2
+- packaged properly
+
 Revision 1.1  2005/12/11 16:23:49  baggins
 - initial revision
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ocaml-ulex.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list