parent
fccaf5e2e5
commit
63ce14acce
|
@ -1,2 +1,3 @@
|
|||
ocaml_dbus-0.24.tar.bz2
|
||||
/ocaml_dbus-0.29.tar.bz2
|
||||
/v0.30.tar.gz
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
|
||||
Name: ocaml-dbus
|
||||
Version: 0.29
|
||||
Release: 19%{?dist}
|
||||
Version: 0.30
|
||||
Release: 1%{?dist}
|
||||
Summary: OCaml library for using D-Bus
|
||||
License: LGPLv2
|
||||
|
||||
URL: http://projects.snarc.org/ocaml-dbus/
|
||||
Source0: http://projects.snarc.org/ocaml-dbus/download/ocaml_dbus-%{version}.tar.bz2
|
||||
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
Source0: https://github.com/vincenthz/ocaml-dbus/archive/v0.30.tar.gz
|
||||
|
||||
BuildRequires: ocaml >= 3.10.0-7, ocaml-findlib
|
||||
BuildRequires: dbus-devel
|
||||
|
@ -34,13 +32,15 @@ developing applications that use %{name}.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n ocaml_dbus-%{version}
|
||||
%setup -q -n ocaml-dbus-%{version}
|
||||
|
||||
|
||||
%build
|
||||
make \
|
||||
%if %opt
|
||||
OCAMLC="ocamlc.opt" OCAMLOPT="ocamlopt.opt" OCAMLOPTFLAGS="-g"
|
||||
%else
|
||||
all-byte
|
||||
%endif
|
||||
|
||||
if ! test -f "README"; then
|
||||
|
@ -86,6 +86,10 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dlldbus_stubs.so
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 20 2015 Richard W.M. Jones <rjones@redhat.com> - 0.30-1
|
||||
- New upstream version 0.30.
|
||||
- Enable bytecode build.
|
||||
|
||||
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 0.29-19
|
||||
- ocaml-4.02.2 final rebuild.
|
||||
|
||||
|
|
Loading…
Reference in New Issue