- Build with ocaml-rpm-macros to get proper Requires and Provides

for flocq-devel. This should prevent incompatibilities with other
  Ocaml libraries when building native objects against flocq-devel.

OBS-URL: https://build.opensuse.org/package/show/science/flocq?expand=0&rev=9
This commit is contained in:
Aaron Puchert 2023-01-26 23:09:12 +00:00 committed by Git OBS Bridge
parent 63f4b9f993
commit 2aa2942b02
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 26 22:02:12 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Build with ocaml-rpm-macros to get proper Requires and Provides
for flocq-devel. This should prevent incompatibilities with other
Ocaml libraries when building native objects against flocq-devel.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 30 12:56:30 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com> Thu Jun 30 12:56:30 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,9 +1,9 @@
# #
# spec file for package flocq # spec file for package flocq
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020 Peter Trommler <ptrommler@icloud.com> # Copyright (c) 2020 Peter Trommler <ptrommler@icloud.com>
# Copyright (c) 2022 Aaron Puchert <aaronpuchert@alice-dsl.net> # Copyright (c) 2023 Aaron Puchert <aaronpuchert@alice-dsl.net>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -30,6 +30,7 @@ Source0: https://flocq.gitlabpages.inria.fr/releases/%{name}-%{version}.t
Source100: %{name}-rpmlintrc Source100: %{name}-rpmlintrc
BuildRequires: coq-devel >= 8.12 BuildRequires: coq-devel >= 8.12
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ocaml-rpm-macros
BuildRequires: ocamlfind(findlib) BuildRequires: ocamlfind(findlib)
# The binary format works only with the Coq version it was built with. # The binary format works only with the Coq version it was built with.
Requires: coq = %{pkg_version coq} Requires: coq = %{pkg_version coq}