Remove dependency on uchar.
This commit is contained in:
parent
6b0115b8c2
commit
fd84d1e52c
@ -1,6 +1,6 @@
|
|||||||
Name: ocaml-sedlex
|
Name: ocaml-sedlex
|
||||||
Version: 2.1
|
Version: 2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Unicode-friendly lexer generator
|
Summary: Unicode-friendly lexer generator
|
||||||
|
|
||||||
License: MIT
|
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.
|
# Makes *.cmxs and *.opt executable such that they will be stripped.
|
||||||
find $RPM_BUILD_ROOT -name '*.{cmxs,opt}' -exec chmod 0755 {} \;
|
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
|
%files
|
||||||
%doc README.md CHANGES
|
%doc README.md CHANGES
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -70,6 +75,9 @@ find $RPM_BUILD_ROOT -name '*.{cmxs,opt}' -exec chmod 0755 {} \;
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Oct 30 2019 Andy Li <andy@onthewings.net> - 2.1-1
|
||||||
- New upstream version.
|
- New upstream version.
|
||||||
- Update URL.
|
- Update URL.
|
||||||
|
Loading…
Reference in New Issue
Block a user