update to 1.6.9

This commit is contained in:
lyn1001 2023-09-20 17:25:18 +08:00
parent 714c2075f3
commit 431a130720
3 changed files with 10 additions and 6 deletions

BIN
cppo-1.6.9.tar.gz Normal file

Binary file not shown.

View File

@ -1,32 +1,36 @@
Name: ocaml-cppo Name: ocaml-cppo
Version: 1.6.6 Version: 1.6.9
Release: 1 Release: 1
Summary: An equivalent of the C preprocessor for OCaml programs Summary: An equivalent of the C preprocessor for OCaml programs
License: BSD License: BSD
URL: https://github.com/ocaml-community/cppo URL: https://github.com/ocaml-community/cppo
Source0: https://github.com/ocaml-community/cppo/archive/v%{version}.tar.gz Source0: https://github.com/ocaml-community/cppo/archive/v%{version}/cppo-%{version}.tar.gz
BuildRequires: make ocaml ocaml-dune ocaml-ocamlbuild ocaml-findlib BuildRequires: ocaml ocaml-dune ocaml-ocamlbuild ocaml-findlib
%description %description
Cppo is an equivalent of the C preprocessor for OCaml programs.It allows the definition of simple macros and file inclusion. Cppo is an equivalent of the C preprocessor for OCaml programs.It allows the definition of simple macros and file inclusion.
%prep %prep
%autosetup -n cppo-%{version} -p1 %autosetup -n cppo-%{version} -p1
sed -i 's/[%]{version:cppo}/%{version}/g' src/dune
%build %build
%make_build dune build %{?_smp_mflags} --verbose --profile release
%install %install
%make_install dune install --destdir=%{buildroot}
%files %files
%license LICENSE.md %license LICENSE.md
%doc Changes README.md %doc Changes.md README.md
%{_bindir}/cppo %{_bindir}/cppo
%{_libdir}/ocaml/cppo/* %{_libdir}/ocaml/cppo/*
%{_libdir}/ocaml/cppo_ocamlbuild/* %{_libdir}/ocaml/cppo_ocamlbuild/*
%exclude /usr/doc/*cppo*/* %exclude /usr/doc/*cppo*/*
%changelog %changelog
* Wed Sep 20 2023 liyanan <thistleslyn@163.com> - 1.6.9-1
- upgrade to 1.6.9
* Mon Jul 26 2021 wang_yue111 <648774160@qq.com> - 1.6.6-1 * Mon Jul 26 2021 wang_yue111 <648774160@qq.com> - 1.6.6-1
- Package init - Package init

Binary file not shown.