Accepting request 827587 from home:dimstar:Factory

- Explicitly call %meson_build in the %build section: It was never
  needed (but should have been there) before as the %meson_install
  macro would perform a project rebuild. However, most recent
  versions of meson have changed the %meson_install macro to use
  `--no-rebuild`, exposing then this issue on our spec file.

OBS-URL: https://build.opensuse.org/request/show/827587
OBS-URL: https://build.opensuse.org/package/show/hardware/libosinfo?expand=0&rev=100
This commit is contained in:
Dominique Leuenberger 2020-08-18 12:40:21 +00:00 committed by Git OBS Bridge
parent e05f9c3494
commit daf46708dd
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Aug 18 12:32:40 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Explicitly call %meson_build in the %build section: It was never
needed (but should have been there) before as the %meson_install
macro would perform a project rebuild. However, most recent
versions of meson have changed the %meson_install macro to use
`--no-rebuild`, exposing then this issue on our spec file.
-------------------------------------------------------------------
Mon Jun 1 12:44:42 MDT 2020 - carnold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libosinfo
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# All modifications and additions to the file contributed by third parties
@ -25,7 +25,7 @@ Release: 0
Summary: Operating system and hypervisor information management library
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: Development/Libraries/C and C++
Url: https://releases.pagure.org/libosinfo/
URL: https://releases.pagure.org/libosinfo/
Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: hwdata
@ -94,6 +94,7 @@ as well as Vala bindings for the libosinfo library.
-Denable-tests=true \
-Denable-introspection=enabled \
-Denable-vala=enabled
%meson_build
%install
%meson_install