[packages/gnome-recipes] - use meson/ninja macros
qboosh
qboosh at pld-linux.org
Tue Oct 8 18:53:53 CEST 2019
commit 2919a005a21eb1c854f5b1b80e14a4dbf8f93f86
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 8 18:57:11 2019 +0200
- use meson/ninja macros
gnome-recipes.spec | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/gnome-recipes.spec b/gnome-recipes.spec
index b51fdba..6a38c60 100644
--- a/gnome-recipes.spec
+++ b/gnome-recipes.spec
@@ -24,8 +24,10 @@ BuildRequires: libcanberra-devel
BuildRequires: libsoup-devel >= 2.4
BuildRequires: libtool >= 2:2.2
BuildRequires: meson >= 0.36.0
+BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig >= 1:0.22
BuildRequires: rest-devel
+BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires(post,postun): gtk-update-icon-cache
@@ -60,20 +62,14 @@ i udostępnianie ich znajomym.
%setup -q
%build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags} %{rpmcppflags}" \
-LDFLAGS="%{rpmldflags}" \
-meson build \
- --buildtype=plain \
- --prefix=%{_prefix}
+%meson build
-ninja -C build -v
+%ninja_build -C build
%install
rm -rf $RPM_BUILD_ROOT
-DESTDIR=$RPM_BUILD_ROOT \
-ninja -C build -v install
+%ninja_install -C build
# gnome-recipes, gnome-recipes-data gettext domains
# org.gnome.Recipes help
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-recipes.git/commitdiff/2919a005a21eb1c854f5b1b80e14a4dbf8f93f86
More information about the pld-cvs-commit
mailing list