forked from pool/ocaml-stdcompat
remove braces from rpmspec macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-stdcompat?expand=0&rev=21
This commit is contained in:
parent
6b8630be68
commit
bec8c1ca78
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define _lto_cflags %{nil}
|
||||
%define _lto_cflags %nil
|
||||
Name: ocaml-stdcompat
|
||||
Version: 17
|
||||
Release: 0
|
||||
@ -25,8 +25,8 @@ Summary: Stdcompat: compatibility module for OCaml standard library
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/OCaml
|
||||
URL: https://opam.ocaml.org/packages/stdcompat
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: %{name}-rpmlintrc
|
||||
Source0: %name-%version.tar.xz
|
||||
Source1: %name-rpmlintrc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: bash
|
||||
@ -38,13 +38,13 @@ BuildRequires: ocaml(ocaml.opt)
|
||||
Stdcompat is a compatibility layer allowing programs to use some recent additions to the OCaml standard library while preserving the ability to be compiled on former versions of OCaml.
|
||||
|
||||
%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
|
||||
@ -52,16 +52,16 @@ developing applications that use %{name}.
|
||||
%build
|
||||
%make_build -f Makefile.bootstrap
|
||||
%configure \
|
||||
--libdir=%{ocaml_standard_library}
|
||||
--libdir=%ocaml_standard_library
|
||||
%make_build -j1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -exec chmod -v 644 '{}' +
|
||||
find %buildroot -type f -exec chmod -v 644 '{}' +
|
||||
%ocaml_create_file_list
|
||||
|
||||
%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