remove braces from rpmspec macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=46
This commit is contained in:
parent
b97239539b
commit
71752c9ccc
@ -26,7 +26,7 @@ Summary: Ocaml OUnit test framework
|
||||
License: MIT
|
||||
Group: Development/Languages/OCaml
|
||||
URL: https://opam.ocaml.org/packages/ounit
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source0: %name-%version.tar.xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-dune
|
||||
BuildRequires: ocaml-rpm-macros >= 20210121
|
||||
@ -47,12 +47,12 @@ framework for Haskell. It is similar to JUnit, and other xUnit testing
|
||||
frameworks.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Summary: Development files for %name
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %name = %version
|
||||
|
||||
%description devel
|
||||
Development files needed for application based on %{name}.
|
||||
Development files needed for application based on %name.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
@ -67,15 +67,15 @@ dune_release_pkgs="${dune_release_pkgs},ounit-lwt,ounit2-lwt"
|
||||
|
||||
%install
|
||||
%ocaml_dune_install
|
||||
mkdir %{buildroot}$(ocamlc -where)/oUnit
|
||||
mkdir %buildroot$(ocamlc -where)/oUnit
|
||||
cp -avt "$_" src/lib/oUnit/META
|
||||
%ocaml_create_file_list
|
||||
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
|
||||
%files -f %{name}.files
|
||||
%files -f %name.files
|
||||
|
||||
%files devel -f %{name}.files.devel
|
||||
%files devel -f %name.files.devel
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user