rpms/ocaml-cil/devel ocaml-cil.spec,1.3,1.4

Richard W.M. Jones rjones at fedoraproject.org
Tue Sep 2 08:40:19 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-cil/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32384

Modified Files:
	ocaml-cil.spec 
Log Message:
* Tue Sep  2 2008 Richard W.M. Jones <rjones at redhat.com> - 1.3.6-7
- Prevent unwanted bytecode stripping by RPM and prelink.
- Place *.ml files into the -devel subpackage.



Index: ocaml-cil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-cil/devel/ocaml-cil.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ocaml-cil.spec	7 Jul 2008 10:51:25 -0000	1.3
+++ ocaml-cil.spec	2 Sep 2008 08:39:49 -0000	1.4
@@ -1,9 +1,12 @@
 %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
 %define debug_package %{nil}
 
+# Prevent unwanted bytecode stripping by RPM.
+%define __strip /bin/true
+
 Name:           ocaml-cil
 Version:        1.3.6
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        CIL - Infrastructure for C Program Analysis and Transformation
 
 Group:          Development/Libraries
@@ -137,6 +140,8 @@
 mkdir -p $DESTDIR%{_libexecdir}/cil/obj/$archos
 install -m 0755 obj/$archos/cilly.*.exe $DESTDIR%{_libexecdir}/cil/obj/$archos
 
+mkdir -p $DESTDIR/etc/prelink.conf.d
+echo -- '-b /usr/libexec/cil' > $DESTDIR/etc/prelink.conf.d/ocaml-cil-cilly.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -152,6 +157,7 @@
 %exclude %{_libdir}/ocaml/cil/*.cmx
 %endif
 %exclude %{_libdir}/ocaml/cil/*.mli
+%exclude %{_libdir}/ocaml/cil/*.ml
 
 
 %files devel
@@ -163,6 +169,7 @@
 %{_libdir}/ocaml/cil/*.cmx
 %endif
 %{_libdir}/ocaml/cil/*.mli
+%{_libdir}/ocaml/cil/*.ml
 
 
 %files doc
@@ -179,9 +186,14 @@
 %{perl_vendorlib}/TempFile.pm
 %{_bindir}/cilly
 %{_libexecdir}/cil
+%config(noreplace) /etc/prelink.conf.d/ocaml-cil-cilly.conf
 
 
 %changelog
+* Tue Sep  2 2008 Richard W.M. Jones <rjones at redhat.com> - 1.3.6-7
+- Prevent unwanted bytecode stripping by RPM and prelink.
+- Place *.ml files into the -devel subpackage.
+
 * Mon Jul  7 2008 Richard W.M. Jones <rjones at redhat.com> - 1.3.6-6
 - Fix Perl paths (rhbz#453759).
 




More information about the fedora-extras-commits mailing list