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
|
Name: ocaml-stdcompat
|
||||||
Version: 17
|
Version: 17
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,8 +25,8 @@ Summary: Stdcompat: compatibility module for OCaml standard library
|
|||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
URL: https://opam.ocaml.org/packages/stdcompat
|
URL: https://opam.ocaml.org/packages/stdcompat
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %name-%version.tar.xz
|
||||||
Source1: %{name}-rpmlintrc
|
Source1: %name-rpmlintrc
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bash
|
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.
|
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
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %name
|
||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
Requires: %{name} = %{version}
|
Requires: %name = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and signature files for
|
The %name-devel package contains libraries and signature files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %name.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -52,16 +52,16 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
%make_build -f Makefile.bootstrap
|
%make_build -f Makefile.bootstrap
|
||||||
%configure \
|
%configure \
|
||||||
--libdir=%{ocaml_standard_library}
|
--libdir=%ocaml_standard_library
|
||||||
%make_build -j1
|
%make_build -j1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -exec chmod -v 644 '{}' +
|
find %buildroot -type f -exec chmod -v 644 '{}' +
|
||||||
%ocaml_create_file_list
|
%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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user