From 3d2229695b62a3f9f9630ed56e503d1828b1f98c17eb8cba76cb19f281ce42f8 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 14 Jun 2022 09:49:41 +0000 Subject: [PATCH] remove braces from rpmspec macros OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=61 --- ocaml-cppo.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ocaml-cppo.spec b/ocaml-cppo.spec index 75465f6..ac41699 100644 --- a/ocaml-cppo.spec +++ b/ocaml-cppo.spec @@ -25,7 +25,7 @@ Summary: The C preprocessor written in OCaml License: BSD-3-Clause Group: Development/Languages/OCaml URL: https://opam.ocaml.org/packages/cppo -Source: %{name}-%{version}.tar.xz +Source: %name-%version.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune BuildRequires: ocaml-rpm-macros >= 20210911 @@ -46,13 +46,13 @@ standard parsing tools Ocamllex and Ocamlyacc, which contribute to the robustness of cppo across OCaml versions. %package devel -Summary: Development files for %{name} +Summary: Development files for %name Group: Development/Languages/OCaml -Requires: %{name} = %{version} +Requires: %name = %version %description devel -The %{name}-devel package contains libraries and signature files for -developing applications that use %{name}. +The %name-devel package contains libraries and signature files for +developing applications that use %name. %prep %autosetup -p1 @@ -69,10 +69,10 @@ dune_release_pkgs='cppo' %check %ocaml_dune_test -%files -f %{name}.files +%files -f %name.files %doc README.md -%{_bindir}/cppo +%_bindir/cppo -%files devel -f %{name}.files.devel +%files devel -f %name.files.devel %changelog