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
|
/ocaml-base64-2.0.0.tar.gz
|
||||||
|
/v2.1.2.tar.gz
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: ocaml-base64
|
Name: ocaml-base64
|
||||||
Version: 2.0.0
|
Version: 2.1.2
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Base64 library for OCaml
|
Summary: Base64 library for OCaml
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/mirage/ocaml-base64
|
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
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
@ -37,15 +37,18 @@ Development files for %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure
|
# Bizarro build system, so build and install it by hand.
|
||||||
make
|
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
|
%install
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||||
mkdir -p $OCAMLFIND_DESTDIR
|
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.
|
# Delete a few files we don't really want.
|
||||||
pushd $OCAMLFIND_DESTDIR/base64
|
pushd $OCAMLFIND_DESTDIR/base64
|
||||||
@ -77,6 +80,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Oct 19 2016 Dan Horák <dan[at]danny.cz> - 2.0.0-5
|
||||||
- disable debuginfo subpackage on interpreted builds
|
- disable debuginfo subpackage on interpreted builds
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user