1
0
forked from pool/libmirage

use %cmake_build since it exists

OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=67
This commit is contained in:
Jan Engelhardt 2021-04-20 09:18:23 +00:00 committed by Git OBS Bridge
parent 49baf1f211
commit 1cf1ad2298

View File

@ -41,8 +41,8 @@ BuildRequires: pkgconfig(liblzma) >= 5.0.0
BuildRequires: pkgconfig(samplerate) >= 0.1.0
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile) >= 1.0.0
BuildRequires: pkgconfig(zlib) >= 1.2.4
BuildRequires: pkgconfig(vapigen)
BuildRequires: pkgconfig(zlib) >= 1.2.4
Recommends: %name-lang
%description
@ -108,7 +108,7 @@ This package contains files needed to develop with libmirage.
Summary: MIME type definitions and documentation for libmirage
Group: Development/Libraries/C and C++
Requires(post): shared-mime-info
Requires(postun): shared-mime-info
Requires(postun):shared-mime-info
BuildArch: noarch
%description data
@ -147,7 +147,7 @@ This package provides the GObject Introspection bindings for libmirage.
%cmake \
-DCMAKE_MODULE_LINKER_FLAGS="" \
-DVAPI_ENABLED=ON
make %{?_smp_mflags}
%cmake_build
%install
%cmake_install