New upstream version.
Fix standard.mly character encoding.
This commit is contained in:
parent
6b37239584
commit
532ffa3e62
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/menhir-20130911.tar.gz
|
||||
/menhir-20140422.tar.gz
|
||||
|
@ -3,11 +3,12 @@
|
||||
%global target native
|
||||
%else
|
||||
%global target byte
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
Name: ocaml-menhir
|
||||
Version: 20130911
|
||||
Release: 3%{?dist}
|
||||
Version: 20140422
|
||||
Release: 1%{?dist}
|
||||
Summary: LR(1) parser generator for OCaml
|
||||
|
||||
# The library is LGPLv2+ with a linking exception.
|
||||
@ -41,7 +42,7 @@ for developing applications that use %{name}.
|
||||
%patch0 -p1
|
||||
|
||||
# Fix encodings
|
||||
for f in AUTHORS menhir.1; do
|
||||
for f in AUTHORS menhir.1 src/standard.mly; do
|
||||
iconv -f ISO8859-1 -t UTF-8 $f > $f.fixed
|
||||
touch -r $f $f.fixed
|
||||
mv -f $f.fixed $f
|
||||
@ -67,7 +68,7 @@ make -C demos clean
|
||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR
|
||||
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} TARGET=%{target}
|
||||
rm -fr $RPM_BUILD_ROOT%{_defaultdocdir}/menhir
|
||||
rm -fr $RPM_BUILD_ROOT%{_docdir}/menhir
|
||||
|
||||
# Install the ocamldep wrapper
|
||||
mv demos/ocamldep.wrapper $RPM_BUILD_ROOT%{_bindir}/menhir-ocamldep
|
||||
@ -82,6 +83,10 @@ mv demos/ocamldep.wrapper $RPM_BUILD_ROOT%{_bindir}/menhir-ocamldep
|
||||
%{_libdir}/ocaml/menhirLib/
|
||||
|
||||
%changelog
|
||||
* Wed Apr 30 2014 Jerry James <loganjerry@gmail.com> - 20140422-1
|
||||
- New upstream version
|
||||
- Fix standard.mly character encoding
|
||||
|
||||
* Fri Apr 18 2014 Jerry James <loganjerry@gmail.com> - 20130911-3
|
||||
- Remove ocaml_arches macro (bz 1087794)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user