Remove dependency on uchar.
This commit is contained in:
parent
6b0115b8c2
commit
fd84d1e52c
@ -1,6 +1,6 @@
|
||||
Name: ocaml-sedlex
|
||||
Version: 2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Unicode-friendly lexer generator
|
||||
|
||||
License: MIT
|
||||
@ -48,6 +48,11 @@ rm -r $RPM_BUILD_ROOT%{_prefix}/doc/sedlex/{CHANGES,README.md,LICENSE}
|
||||
# Makes *.cmxs and *.opt executable such that they will be stripped.
|
||||
find $RPM_BUILD_ROOT -name '*.{cmxs,opt}' -exec chmod 0755 {} \;
|
||||
|
||||
# uchar is a compatibility package for older OCaml version
|
||||
sed -i 's/uchar//g' $RPM_BUILD_ROOT%{_libdir}/ocaml/sedlex/META
|
||||
sed -i 's/uchar//g' $RPM_BUILD_ROOT%{_libdir}/ocaml/sedlex/dune-package
|
||||
sed -i 's/"uchar"//g' $RPM_BUILD_ROOT%{_libdir}/ocaml/sedlex/opam
|
||||
|
||||
%files
|
||||
%doc README.md CHANGES
|
||||
%license LICENSE
|
||||
@ -70,6 +75,9 @@ find $RPM_BUILD_ROOT -name '*.{cmxs,opt}' -exec chmod 0755 {} \;
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 08 2019 Andy Li <andy@onthewings.net> - 2.1-2
|
||||
- Remove dependency on uchar.
|
||||
|
||||
* Wed Oct 30 2019 Andy Li <andy@onthewings.net> - 2.1-1
|
||||
- New upstream version.
|
||||
- Update URL.
|
||||
|
Loading…
Reference in New Issue
Block a user