Group :: Development/ML
RPM: rpm-build-ocaml
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: rpm-build-ocaml
Version: 1.4.2
Release: alt1
BuildArch: noarch
Summary: RPM helpers to rebuild OCaml packages
License: GPL-2.0-or-later
Group: Development/ML
Source: scripts-%version.tar
# for proper dependencies
BuildPreReq: rpm-build >= 4.0.4-alt81
Requires: %_bindir/ocamlrun
Requires: %_rpmlibdir/ocaml-reqprov
Obsoletes: rpm-build-ocaml4
%description
RPM macros and reqprov helpers to be used in OCaml packages.
%prep
%setup -n scripts-%version
%install
mkdir -p %buildroot%_rpmlibdir
install -pD -m644 ocaml %buildroot%_rpmmacrosdir/ocaml
install -pD -m644 ocaml.env %buildroot%_rpmmacrosdir/ocaml.env
install -p -m755 ocaml.{req,prov}{.files,} ocaml-functions %buildroot%_rpmlibdir/
%files
%_rpmmacrosdir/ocaml
%_rpmmacrosdir/ocaml.env
%_rpmlibdir/ocaml*
%changelog
…
Full changelog you can see here
Version: 1.4.2
Release: alt1
BuildArch: noarch
Summary: RPM helpers to rebuild OCaml packages
License: GPL-2.0-or-later
Group: Development/ML
Source: scripts-%version.tar
# for proper dependencies
BuildPreReq: rpm-build >= 4.0.4-alt81
Requires: %_bindir/ocamlrun
Requires: %_rpmlibdir/ocaml-reqprov
Obsoletes: rpm-build-ocaml4
%description
RPM macros and reqprov helpers to be used in OCaml packages.
%prep
%setup -n scripts-%version
%install
mkdir -p %buildroot%_rpmlibdir
install -pD -m644 ocaml %buildroot%_rpmmacrosdir/ocaml
install -pD -m644 ocaml.env %buildroot%_rpmmacrosdir/ocaml.env
install -p -m755 ocaml.{req,prov}{.files,} ocaml-functions %buildroot%_rpmlibdir/
%files
%_rpmmacrosdir/ocaml
%_rpmmacrosdir/ocaml.env
%_rpmlibdir/ocaml*
%changelog
…
Full changelog you can see here