diff --git a/vulkan-loader.spec b/vulkan-loader.spec index 9e7a460ed705b0ffc61c7495ab687cc9ebcb6360..45ab0f478e602e5d0951beabd2a5207a5355fbee 100644 --- a/vulkan-loader.spec +++ b/vulkan-loader.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: vulkan-loader Version: 1.3.204.0 -Release: 2%{?dist} +Release: 2%{anolis_release}%{?dist} Summary: Vulkan ICD desktop loader License: ASL 2.0 @@ -25,6 +26,8 @@ BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) +Requires: glibc + Provides: vulkan%{?_isa} = %{version}-%{release} Provides: vulkan = %{version}-%{release} Obsoletes: vulkan < %{version}-%{release} @@ -55,6 +58,14 @@ Obsoletes: vulkan-devel < %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name} %prep %autosetup -n Vulkan-Loader-sdk-%{version} -p1 @@ -79,7 +90,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ %files %license LICENSE.txt -%doc README.md CONTRIBUTING.md %dir %{_sysconfdir}/vulkan/ %dir %{_sysconfdir}/vulkan/explicit_layer.d/ %dir %{_sysconfdir}/vulkan/icd.d/ @@ -94,8 +104,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ %{_libdir}/pkgconfig/vulkan.pc %{_libdir}/*.so +%files doc +%doc README.md CONTRIBUTING.md %changelog +* Fri Jul 15 2022 Chang Gao - 1.3.204.0-2.0.1 +- Add doc sub package + * Thu Feb 24 2022 Dave Airlie - 1.3.204.0-2 - Fix aarch64 TEXTREL