- New upstream version 2.0.0+rc1.
- NB. This cannot be built as it depends on new package ocaml-react (RHBZ#527971).
This commit is contained in:
parent
7ce5cd1c86
commit
c24489a057
|
@ -1 +1 @@
|
|||
lwt-1.1.0.tar.gz
|
||||
lwt-2.0.0+rc1.tar.gz
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
%define debug_package %{nil}
|
||||
|
||||
Name: ocaml-lwt
|
||||
Version: 1.1.0
|
||||
Release: 6%{?dist}
|
||||
Version: 2.0.0
|
||||
Release: 0.rc1%{?dist}
|
||||
Summary: OCaml lightweight thread library
|
||||
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+ with exceptions
|
||||
URL: http://ocsigen.org/install/lwt
|
||||
Source0: http://ocsigen.org/download/lwt-%{version}.tar.gz
|
||||
URL: http://ocsigen.org/lwt
|
||||
Source0: http://ocsigen.org/download/lwt-%{version}+rc1.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
|
||||
|
@ -17,6 +17,8 @@ BuildRequires: ocaml >= 3.10.0
|
|||
BuildRequires: ocaml-findlib-devel
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
BuildRequires: ocaml-ssl >= 0.4.0
|
||||
BuildRequires: ocaml-react >= 0.9.0
|
||||
BuildRequires: chrpath
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||
|
@ -40,7 +42,7 @@ developing applications that use %{name}.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n lwt-%{version}
|
||||
%setup -q -n lwt-%{version}+rc1
|
||||
|
||||
mv README README.old
|
||||
iconv -f iso-8859-1 -t utf-8 < README.old > README
|
||||
|
@ -57,6 +59,9 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||
make install
|
||||
|
||||
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
@ -72,11 +77,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%exclude %{_libdir}/ocaml/lwt/*.cmx
|
||||
%endif
|
||||
%exclude %{_libdir}/ocaml/lwt/*.mli
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE COPYING CHANGES CHANGES.darcs README VERSION _build/lwt.docdir
|
||||
%doc LICENSE COPYING CHANGES CHANGES.darcs README VERSION
|
||||
%if %opt
|
||||
%{_libdir}/ocaml/lwt/*.a
|
||||
%{_libdir}/ocaml/lwt/*.cmxa
|
||||
|
@ -86,6 +93,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 8 2009 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-0.rc1.fc13
|
||||
- New upstream version 2.0.0+rc1.
|
||||
- NB. This cannot be built as it depends on new package ocaml-react
|
||||
(RHBZ#527971).
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue