From f99e7e7ca20a7a899ba78070a367419b1eae16a43cd59df1fc6ae2bf5b80121e Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 27 Dec 2019 11:04:44 +0000 Subject: [PATCH] Accepting request 758971 from home:pluskalm:branches:X11:Wayland - Use new macros (autosetup and cmake_build) OBS-URL: https://build.opensuse.org/request/show/758971 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-loader?expand=0&rev=40 --- vulkan-loader.changes | 5 +++++ vulkan-loader.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/vulkan-loader.changes b/vulkan-loader.changes index 0822af1..a2d74c8 100644 --- a/vulkan-loader.changes +++ b/vulkan-loader.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 23 11:21:33 UTC 2019 - Martin Pluskal + +- Use new macros (autosetup and cmake_build) + ------------------------------------------------------------------- Thu Dec 12 19:30:43 UTC 2019 - Jan Engelhardt diff --git a/vulkan-loader.spec b/vulkan-loader.spec index 4971850..8f54326 100644 --- a/vulkan-loader.spec +++ b/vulkan-loader.spec @@ -16,20 +16,19 @@ # -Name: vulkan-loader %define lname libvulkan1 +Name: vulkan-loader Version: 1.1.130 Release: 0 Summary: Reference ICD loader for Vulkan License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://github.com/KhronosGroup/Vulkan-Loader - Source: https://github.com/KhronosGroup/Vulkan-Loader/archive/v%version.tar.gz Source9: baselibs.conf BuildRequires: cmake >= 3.4 BuildRequires: gcc-c++ >= 4.8 -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: python3-xml BuildRequires: vulkan-headers >= %version BuildRequires: pkgconfig(pciaccess) @@ -67,13 +66,13 @@ This subpackage contains the development headers for packages wanting to make use of Vulkan. %prep -%setup -qn Vulkan-Loader-%version +%autosetup -n Vulkan-Loader-%version %build %cmake \ -DVulkanHeaders_INCLUDE_DIR:PATH="%_includedir" \ -DVulkanRegistry_DIR:PATH="%_datadir/vulkan/registry" -make %{?_smp_mflags} +%cmake_build %install %cmake_install