Remove dependency to vulkan-utility-libraries-devel

This commit is contained in:
José Expósito 2024-02-01 16:07:03 +01:00
parent 24bff3a91f
commit 5c00e2d574

View File

@ -7,8 +7,6 @@ License: Apache-2.0
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
Requires: vulkan-utility-libraries-devel
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: cmake3 BuildRequires: cmake3
@ -31,18 +29,6 @@ BuildRequires: pkgconfig(xcb)
%description %description
Vulkan validation layers Vulkan validation layers
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: vulkan-headers
# The devel files are now provided by vulkan-utility-libraries-devel
# Deprecate vulkan-validation-layers-devel
Provides: deprecated()
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep %prep
%autosetup -p1 -n Vulkan-ValidationLayers-vulkan-sdk-%{version} %autosetup -p1 -n Vulkan-ValidationLayers-vulkan-sdk-%{version}
@ -76,9 +62,5 @@ developing applications that use %{name}.
%{_datadir}/vulkan/explicit_layer.d/*.json %{_datadir}/vulkan/explicit_layer.d/*.json
%{_libdir}/libVkLayer_*.so %{_libdir}/libVkLayer_*.so
%files devel
# The devel files are now provided by vulkan-utility-libraries-devel
# Keep empty for backwards compatibility
%changelog %changelog
%autochangelog %autochangelog