- 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}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: ocaml-lwt
|
Name: ocaml-lwt
|
||||||
Version: 1.1.0
|
Version: 2.0.0
|
||||||
Release: 6%{?dist}
|
Release: 0.rc1%{?dist}
|
||||||
Summary: OCaml lightweight thread library
|
Summary: OCaml lightweight thread library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: LGPLv2+ with exceptions
|
License: LGPLv2+ with exceptions
|
||||||
URL: http://ocsigen.org/install/lwt
|
URL: http://ocsigen.org/lwt
|
||||||
Source0: http://ocsigen.org/download/lwt-%{version}.tar.gz
|
Source0: http://ocsigen.org/download/lwt-%{version}+rc1.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ BuildRequires: ocaml >= 3.10.0
|
||||||
BuildRequires: ocaml-findlib-devel
|
BuildRequires: ocaml-findlib-devel
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-ssl >= 0.4.0
|
BuildRequires: ocaml-ssl >= 0.4.0
|
||||||
|
BuildRequires: ocaml-react >= 0.9.0
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||||
|
@ -40,7 +42,7 @@ developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n lwt-%{version}
|
%setup -q -n lwt-%{version}+rc1
|
||||||
|
|
||||||
mv README README.old
|
mv README README.old
|
||||||
iconv -f iso-8859-1 -t utf-8 < README.old > README
|
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
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -72,11 +77,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%exclude %{_libdir}/ocaml/lwt/*.cmx
|
%exclude %{_libdir}/ocaml/lwt/*.cmx
|
||||||
%endif
|
%endif
|
||||||
%exclude %{_libdir}/ocaml/lwt/*.mli
|
%exclude %{_libdir}/ocaml/lwt/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE COPYING CHANGES CHANGES.darcs README VERSION _build/lwt.docdir
|
%doc LICENSE COPYING CHANGES CHANGES.darcs README VERSION
|
||||||
%if %opt
|
%if %opt
|
||||||
%{_libdir}/ocaml/lwt/*.a
|
%{_libdir}/ocaml/lwt/*.a
|
||||||
%{_libdir}/ocaml/lwt/*.cmxa
|
%{_libdir}/ocaml/lwt/*.cmxa
|
||||||
|
@ -86,6 +93,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue