From f5f1d6a2223507f2660a7169b805cc5b42e3c757 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:49:09 +0100 Subject: [PATCH] exclude unclear automatic requirement for ocaml(Aacplus_dynlink) [release 0.2.2-2mamba;Sun Feb 13 2022] --- ocaml-aacplus.spec | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/ocaml-aacplus.spec b/ocaml-aacplus.spec index 5c75e51..0948a74 100644 --- a/ocaml-aacplus.spec +++ b/ocaml-aacplus.spec @@ -1,24 +1,23 @@ %define ocamlpck aacplus Name: ocaml-aacplus -Version: 0.2.1 -Release: 1mamba +Version: 0.2.2 +Release: 2mamba Summary: OCaml bindings for libaacplus Group: Development/Bindings Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan -URL: http://savonet.sourceforge.net/ -Source: http://sourceforge.net/projects/savonet/files/ocaml-aacplus/%{version}/ocaml-aacplus-%{version}.tar.gz +Packager: Silvan Calarco +URL: https://github.com/savonet/ocaml-aacplus +Source: https://github.com/savonet/ocaml-aacplus.git/%{version}/ocaml-aacplus-%{version}.tar.bz2 License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libaacplus-devel BuildRequires: libfftw-devel +BuildRequires: ocaml ## AUTOBUILDREQ-END BuildRequires: pkg-config -BuildRequires: libaacplus-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package contains an OCaml interface for the AAC+ encoding library, otherwise known as libaacplus. @@ -31,16 +30,21 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and signature files for developing applications that use %{name}. +%debug_package + %prep %setup -q +%global __requires_exclude ^ocaml.*Aacplus_dynlink.*$ + +./bootstrap %build -./configure \ - --prefix=%{_prefix} \ - --disable-ldconf +%configure \ + --host= \ + LDFLAGS="-L%{_libdir}" -%make -%make doc +%make -j1 +%make -j1 doc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -75,5 +79,11 @@ make install %doc doc/html/ %changelog +* Sun Feb 13 2022 Silvan Calarco 0.2.2-2mamba +- exclude unclear automatic requirement for ocaml(Aacplus_dynlink) + +* Fri Feb 19 2021 Silvan Calarco 0.2.2-1mamba +- update to 0.2.2 + * Tue Jun 25 2013 Davide Madrisan 0.2.1-1mamba - package created by autospec