New upstream version 2.1.2.
This commit is contained in:
parent
3785237e89
commit
18ab209f36
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/ocaml-base64-2.0.0.tar.gz
|
||||
/v2.1.2.tar.gz
|
||||
|
@ -4,13 +4,13 @@
|
||||
%endif
|
||||
|
||||
Name: ocaml-base64
|
||||
Version: 2.0.0
|
||||
Release: 5%{?dist}
|
||||
Version: 2.1.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Base64 library for OCaml
|
||||
|
||||
License: ISC
|
||||
URL: https://github.com/mirage/ocaml-base64
|
||||
Source0: https://github.com/mirage/ocaml-base64/archive/v2.0.0/ocaml-base64-2.0.0.tar.gz
|
||||
Source0: https://github.com/mirage/ocaml-base64/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
@ -37,15 +37,18 @@ Development files for %{name}.
|
||||
|
||||
|
||||
%build
|
||||
./configure
|
||||
make
|
||||
# Bizarro build system, so build and install it by hand.
|
||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cma
|
||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cmxa
|
||||
ocamlbuild -use-ocamlfind -classic-display -tag debug src/b64.cmxs
|
||||
|
||||
|
||||
%install
|
||||
export DESTDIR=$RPM_BUILD_ROOT
|
||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR
|
||||
make install INSTALLFLAGS=destdir=$DESTDIR
|
||||
sed 's/^version.*/version = "%{version}"/' < pkg/META > META
|
||||
ocamlfind install base64 _build/src/* META
|
||||
|
||||
# Delete a few files we don't really want.
|
||||
pushd $OCAMLFIND_DESTDIR/base64
|
||||
@ -77,6 +80,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 07 2016 Richard W.M. Jones <rjones@redhat.com> - 2.1.2-1
|
||||
- New upstream version 2.1.2.
|
||||
|
||||
* Wed Oct 19 2016 Dan Horák <dan[at]danny.cz> - 2.0.0-5
|
||||
- disable debuginfo subpackage on interpreted builds
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user