From b9d0b60eb99ed863035d5ef790460f4660749758 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:08:05 +0100 Subject: [PATCH] add a -common subpackage for multilib cohexistence [release 2.4.113-2mamba;Wed Sep 21 2022] --- libdrm.spec | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/libdrm.spec b/libdrm.spec index cf9c7f9..f78c274 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -1,7 +1,7 @@ Name: libdrm Epoch: 1 Version: 2.4.113 -Release: 1mamba +Release: 2mamba Summary: A library interface to Linux DRM (Direct Rendering Manager) Group: System/Libraries Vendor: openmamba @@ -16,10 +16,19 @@ BuildRequires: glibc-devel BuildRequires: libpciaccess-devel BuildRequires: valgrind-devel ## AUTOBUILDREQ-END +Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release} %description A library interface to Linux DRM (Direct Rendering Manager). +%package common +Summary: Common file provided with %{name} +Group: System/Libraries + +%description common +A library interface to Linux DRM (Direct Rendering Manager). +This package contains common files provided with %{name}. + %package devel Summary: Devel package for %{name} Group: Development/Libraries @@ -71,19 +80,19 @@ This package contains static libraries and header files needed for development. %{_libdir}/libdrm_radeon.so.* %{_libdir}/libdrm_exynos.so.* %{_libdir}/libdrm_omap.so.* -#%{_libdir}/libkms.so.* %ifarch arm aarch64 %{_libdir}/libdrm_freedreno.so.* %{_libdir}/libdrm_etnaviv.so.* %endif + +%files common +%defattr(-,root,root) %{_datadir}/libdrm/amdgpu.ids %files devel %defattr(-,root,root) %dir %{_includedir}/libdrm %{_includedir}/libdrm/*.h -#%dir %{_includedir}/libkms -#%{_includedir}/libkms/libkms.h %dir %{_includedir}/exynos %{_includedir}/exynos/*.h %dir %{_includedir}/libdrm/nouveau @@ -109,20 +118,19 @@ This package contains static libraries and header files needed for development. %{_libdir}/libdrm_nouveau.so %{_libdir}/libdrm_omap.so %{_libdir}/libdrm_radeon.so -#%{_libdir}/libkms.so %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/drmAvailable.3* %{_mandir}/man3/drmHandleEvent.3* %{_mandir}/man3/drmModeGetResources.3* -#%{_mandir}/man7/drm-gem.7* %{_mandir}/man7/drm-kms.7* %{_mandir}/man7/drm-memory.7* -#%{_mandir}/man7/drm-mm.7* -#%{_mandir}/man7/drm-ttm.7* %{_mandir}/man7/drm.7* #%doc README %changelog +* Wed Sep 21 2022 Silvan Calarco 2.4.113-2mamba +- add a -common subpackage for multilib cohexistence + * Fri Sep 16 2022 Automatic Build System 2.4.113-1mamba - automatic version update by autodist