Update to 2.4.70 (RHBZ #1359449)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
16bb0de84f
commit
5e5c073986
21
libdrm.spec
21
libdrm.spec
@ -1,23 +1,18 @@
|
|||||||
Name: libdrm
|
Name: libdrm
|
||||||
Summary: Direct Rendering Manager runtime library
|
Summary: Direct Rendering Manager runtime library
|
||||||
Version: 2.4.69
|
Version: 2.4.70
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
URL: http://dri.sourceforge.net
|
URL: https://dri.freedesktop.org
|
||||||
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
Source0: %{url}/libdrm/%{name}-%{version}.tar.bz2
|
||||||
Source2: 91-drm-modeset.rules
|
Source2: 91-drm-modeset.rules
|
||||||
|
|
||||||
BuildRequires: pkgconfig automake autoconf libtool
|
BuildRequires: pkgconfig automake autoconf libtool
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
|
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
%else
|
|
||||||
BuildRequires: libudev-devel
|
|
||||||
Requires: udev
|
|
||||||
%endif
|
|
||||||
BuildRequires: libatomic_ops-devel
|
BuildRequires: libatomic_ops-devel
|
||||||
BuildRequires: libpciaccess-devel
|
BuildRequires: libpciaccess-devel
|
||||||
BuildRequires: libxslt docbook-style-xsl
|
BuildRequires: libxslt docbook-style-xsl
|
||||||
@ -55,7 +50,7 @@ Utility programs for the kernel DRM interface. Will void your warranty.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -vfi
|
||||||
%configure \
|
%configure \
|
||||||
%ifarch s390
|
%ifarch s390
|
||||||
--disable-valgrind \
|
--disable-valgrind \
|
||||||
@ -92,10 +87,7 @@ install -m 0644 %{SOURCE2} %{buildroot}/lib/udev/rules.d/
|
|||||||
# NOTE: We intentionally don't ship *.la files
|
# NOTE: We intentionally don't ship *.la files
|
||||||
find %{buildroot} -type f -name "*.la" -delete
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
for i in r300_reg.h via_3d_reg.h
|
rm -f %{buildroot}%{_includedir}/%{name}/{r300_reg.h,via_3d_reg.h}
|
||||||
do
|
|
||||||
rm -f %{buildroot}/usr/include/libdrm/$i
|
|
||||||
done
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -228,6 +220,9 @@ done
|
|||||||
%{_mandir}/man7/drm*.7*
|
%{_mandir}/man7/drm*.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 24 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.4.70-1
|
||||||
|
- Update to 2.4.70 (RHBZ #1359449)
|
||||||
|
|
||||||
* Thu Jul 21 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.4.69-1
|
* Thu Jul 21 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.4.69-1
|
||||||
- Update to 2.4.69 (RHBZ #1358549)
|
- Update to 2.4.69 (RHBZ #1358549)
|
||||||
|
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Usage: ./make-git-snapshot.sh [COMMIT]
|
|
||||||
#
|
|
||||||
# to make a snapshot of the given tag/branch. Defaults to HEAD.
|
|
||||||
# Point env var REF to a local mesa repo to reduce clone time.
|
|
||||||
|
|
||||||
DIRNAME=libdrm-$( date +%Y%m%d )
|
|
||||||
|
|
||||||
echo REF ${REF:+--reference $REF}
|
|
||||||
echo DIRNAME $DIRNAME
|
|
||||||
echo HEAD ${1:-HEAD}
|
|
||||||
|
|
||||||
rm -rf $DIRNAME
|
|
||||||
|
|
||||||
git clone ${REF:+--reference $REF} \
|
|
||||||
git://git.freedesktop.org/git/mesa/drm $DIRNAME
|
|
||||||
|
|
||||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
|
||||||
| bzip2 > $DIRNAME.tar.bz2
|
|
||||||
|
|
||||||
# rm -rf $DIRNAME
|
|
Loading…
Reference in New Issue
Block a user