New upstream version 7.1.5.
- Fix bytecode-only build.
This commit is contained in:
parent
815ebb27ef
commit
5ae061c86e
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ release-6.0.1.tar.bz2
|
||||
/release-6.2.5.tar.bz2
|
||||
/pcre-ocaml-7.0.2.tar.gz
|
||||
/pcre-ocaml-7.1.1.tar.gz
|
||||
/pcre-ocaml-7.1.5.tar.gz
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: ocaml-pcre
|
||||
Version: 7.1.1
|
||||
Release: 8%{?dist}
|
||||
Version: 7.1.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl compatibility regular expressions (PCRE) for OCaml
|
||||
|
||||
License: LGPLv2
|
||||
@ -40,22 +40,14 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%build
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
make all
|
||||
%else
|
||||
make -C lib byte-code-library
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
export DESTDIR=$RPM_BUILD_ROOT
|
||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
||||
%ifarch %{ocaml_native_compiler}
|
||||
make NATIVE=true install
|
||||
%else
|
||||
make LIBINSTALL_FILES="pcre.mli pcre.cmi pcre.cma libpcre_stubs.a dllpcre_stubs.so" install
|
||||
%endif
|
||||
make install
|
||||
|
||||
# Installs API docs in %{_docdir}/api. Install this using %doc instead.
|
||||
mv $RPM_BUILD_ROOT%{_docdir}/api .
|
||||
@ -83,6 +75,10 @@ mv $RPM_BUILD_ROOT%{_docdir}/api .
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 20 2015 Richard W.M. Jones <rjones@redhat.com> - 7.1.5-1
|
||||
- New upstream version 7.1.5.
|
||||
- Fix bytecode-only build.
|
||||
|
||||
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 7.1.1-8
|
||||
- Bump release and rebuild.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user