forked from pool/ocaml-cppo
Accepting request 512520 from devel:languages:ocaml
- Use Group: Development/Languages/OCaml - Update Url - Wrap specfile conditionals to fix quilt setup - Remove autodeps for pre openSUSE 12.1 releases OBS-URL: https://build.opensuse.org/request/show/512520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-cppo?expand=0&rev=4
This commit is contained in:
commit
d8a2e2c130
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Use Group: Development/Languages/OCaml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Update Url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Wrap specfile conditionals to fix quilt setup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
|
||||
|
||||
- Remove autodeps for pre openSUSE 12.1 releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
|
||||
|
||||
|
@ -20,11 +20,11 @@
|
||||
Name: ocaml-cppo
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
%{ocaml_preserve_bytecode}
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: The C preprocessor written in OCaml
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://mjambon.com/cppo.html
|
||||
Group: Development/Languages/OCaml
|
||||
Url: https://github.com/mjambon/cppo
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-oasis
|
||||
@ -35,13 +35,6 @@ BuildRequires: ocamlfind(ocamlbuild)
|
||||
BuildRequires: ocamlfind(str)
|
||||
BuildRequires: ocamlfind(unix)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# ocaml autodep start for pkg: ocaml-cppo
|
||||
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires
|
||||
%if 0%{?suse_version} < 1210
|
||||
Requires: ocaml-ocamlbuild
|
||||
Requires: ocaml-runtime
|
||||
%endif
|
||||
# ocaml autodep end for pkg: ocaml-cppo
|
||||
|
||||
%description
|
||||
Cppo is an equivalent of the C preprocessor targeted at the OCaml language and
|
||||
@ -58,7 +51,7 @@ robustness of cppo across OCaml versions.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/Other
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@ -125,7 +118,7 @@ _EOF_
|
||||
%{_bindir}/*
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if %{ocaml_native_compiler}
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
|
||||
@ -134,7 +127,7 @@ _EOF_
|
||||
%{oasis_docdir_html}
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if %{ocaml_native_compiler}
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.a
|
||||
%{_libdir}/ocaml/*/*.cmx
|
||||
%{_libdir}/ocaml/*/*.cmxa
|
||||
|
Loading…
Reference in New Issue
Block a user