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