Include natively compiled files and *.mli files (RHBZ#521324).

This commit is contained in:
Richard W.M. Jones 2009-10-23 08:23:11 +00:00
parent df4870cc20
commit 7df0a018d7

View File

@ -6,7 +6,7 @@
Name: ocaml-cil
Version: 1.3.7
Release: 2%{?dist}
Release: 3%{?dist}
Summary: CIL - Infrastructure for C Program Analysis and Transformation
Group: Development/Libraries
@ -96,7 +96,7 @@ for gcc.
%build
make
make RELEASE=1
make quicktest
cat > META <<EOF
@ -137,7 +137,8 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $DESTDIR%{perl_vendorlib}
install -m 0644 lib/*.pm bin/CilConfig.pm $DESTDIR%{perl_vendorlib}
mkdir -p $OCAMLFIND_DESTDIR
ocamlfind install cil META obj/$archos/*.{ml,mli,cmi,cmo,cmx,cma,cmxa,o,a}
ocamlfind install cil META obj/$archos/*.{ml,mli,cmi,cmo,cmx,cma,cmxa,o,a} \
src/*.mli
mkdir -p $DESTDIR%{_bindir}
install -m 0755 bin/cilly $DESTDIR%{_bindir}
@ -195,6 +196,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Oct 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.3.7-3
- Include natively compiled files and *.mli files (RHBZ#521324).
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild