Accepting request 578810 from home:xexaxo:branches:X11:XOrg
Cleanup the build dependencies, remove defattr stanza OBS-URL: https://build.opensuse.org/request/show/578810 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=258
This commit is contained in:
parent
551226bab9
commit
1fd032bf2c
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 18:06:08 UTC 2018 - emil.l.velikov@gmail.com
|
||||
|
||||
- Remove unneeded defattr stanza
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 18:03:18 UTC 2018 - emil.l.velikov@gmail.com
|
||||
|
||||
- Remove pthread-stubs dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 17:56:06 UTC 2018 - emil.l.velikov@gmail.com
|
||||
|
||||
- Remove unneeded autotool dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 17 18:14:22 UTC 2018 - tobias.johannes.klausmann@mni.thm.de
|
||||
|
||||
|
20
libdrm.spec
20
libdrm.spec
@ -28,15 +28,8 @@ Url: http://dri.freedesktop.org/
|
||||
# Source URL: http://dri.freedesktop.org/libdrm/
|
||||
Source: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRequires: autoconf >= 2.63
|
||||
BuildRequires: automake >= 1.10
|
||||
BuildRequires: libtool >= 2.2
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?is_opensuse} || 0%{?suse_version} > 1320
|
||||
BuildRequires: util-macros-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(pciaccess) >= 0.10
|
||||
BuildRequires: pkgconfig(pthread-stubs)
|
||||
# Required for building manpages
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: xsltproc
|
||||
@ -183,7 +176,6 @@ Group: System/Libraries
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
autoreconf -fi
|
||||
%configure \
|
||||
%ifnarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
|
||||
--disable-valgrind \
|
||||
@ -242,12 +234,10 @@ install \
|
||||
%endif
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/modeprint
|
||||
%{_bindir}/modetest
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_mandir}/man3
|
||||
%dir %{_mandir}/man7
|
||||
%{_mandir}/man3/*
|
||||
@ -266,52 +256,42 @@ install \
|
||||
%{_libdir}/pkgconfig/libdrm*.pc
|
||||
|
||||
%files -n libdrm2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm.so.2*
|
||||
%dir %{_datarootdir}/libdrm
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
%files -n libdrm_intel1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_intel.so.1*
|
||||
%endif
|
||||
|
||||
%files -n libdrm_nouveau2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_nouveau.so.2*
|
||||
|
||||
%files -n libdrm_radeon1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_radeon.so.1*
|
||||
|
||||
%files -n libdrm_amdgpu1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_amdgpu.so.1*
|
||||
%{_datarootdir}/libdrm/amdgpu.ids
|
||||
|
||||
%files -n libkms1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libkms.so.1*
|
||||
|
||||
%files -n libkms-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libkms
|
||||
%{_libdir}/libkms.so
|
||||
%{_libdir}/pkgconfig/libkms.pc
|
||||
|
||||
%ifarch %{arm}
|
||||
%files -n libdrm_omap1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_omap.so.1*
|
||||
|
||||
%files -n libdrm_tegra0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_tegra.so.0*
|
||||
%endif
|
||||
|
||||
%ifarch %{arm} aarch64
|
||||
%files -n libdrm_freedreno1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libdrm_freedreno.so.1*
|
||||
%endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user