Accepting request 884966 from Archiving:unison:buildrequires
OBS-URL: https://build.opensuse.org/request/show/884966 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-dune?expand=0&rev=68
This commit is contained in:
parent
9a02352ca6
commit
2e695a4f9d
@ -30,10 +30,11 @@ Release: 0
|
|||||||
Summary: A composable build system for OCaml
|
Summary: A composable build system for OCaml
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
URL: https://opam.ocaml.org/packages/dune
|
URL: https://opam.ocaml.org/packages/dune
|
||||||
Source0: %{pkg}-%{version}.tar.xz
|
Source0: %{pkg}-%{version}.tar.xz
|
||||||
Requires: ocamlfind(compiler-libs)
|
Requires: ocamlfind(compiler-libs)
|
||||||
BuildRequires: ocaml-rpm-macros >= 20210121
|
BuildRequires: ocaml-rpm-macros >= 20210409
|
||||||
BuildRequires: ocaml(ocaml_base_version) >= 4.08
|
BuildRequires: ocaml(ocaml_base_version) >= 4.08
|
||||||
%if "%{build_flavor}" == ""
|
%if "%{build_flavor}" == ""
|
||||||
BuildRequires: ocamlfind(compiler-libs)
|
BuildRequires: ocamlfind(compiler-libs)
|
||||||
@ -65,7 +66,7 @@ The %{name}-devel package contains libraries and signature files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{pkg}-%{version}
|
%setup -q -n %{pkg}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if "%{build_flavor}" == ""
|
%if "%{build_flavor}" == ""
|
||||||
@ -95,6 +96,7 @@ export "PATH=%{_tmppath}/%{name}-%{release}/bin:$PATH"
|
|||||||
rm -rfv '%{_tmppath}/%{name}-%{release}'
|
rm -rfv '%{_tmppath}/%{name}-%{release}'
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%if "%{build_flavor}" == ""
|
%if "%{build_flavor}" == ""
|
||||||
%doc CHANGES.md README.md
|
%doc CHANGES.md README.md
|
||||||
%doc doc/*.rst
|
%doc doc/*.rst
|
||||||
@ -104,5 +106,6 @@ rm -rfv '%{_tmppath}/%{name}-%{release}'
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel -f %{name}.files.devel
|
%files devel -f %{name}.files.devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user