[libdrm] Rebuild for new libudev

Adam Jackson ajax at fedoraproject.org
Tue Jun 5 15:28:23 UTC 2012


commit 306735457ca5bcd888020120b8e51887fcc9624f
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Jun 5 11:28:22 2012 -0400

    Rebuild for new libudev
    
    - Conditional BuildReqs for {libudev,systemd}-devel

 libdrm.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/libdrm.spec b/libdrm.spec
index 239ad7a..5b3a139 100644
--- a/libdrm.spec
+++ b/libdrm.spec
@@ -3,7 +3,7 @@
 Summary: Direct Rendering Manager runtime library
 Name: libdrm
 Version: 2.4.34
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://dri.sourceforge.net
@@ -16,7 +16,11 @@ Requires: udev
 BuildRequires: pkgconfig automake autoconf libtool
 BuildRequires: kernel-headers >= 2.6.29-0.145.rc6.fc11
 BuildRequires: libxcb-devel
+%if 0%{?fedora} > 17 || 0%{?rhel} > 6
+BuildRequires: systemd-devel
+%else
 BuildRequires: libudev-devel
+%endif
 BuildRequires: libatomic_ops-devel
 BuildRequires: libpciaccess-devel
 
@@ -180,6 +184,10 @@ done
 %{_libdir}/pkgconfig/libkms.pc
 
 %changelog
+* Tue Jun 05 2012 Adam Jackson <ajax at redhat.com> 2.4.34-2
+- Rebuild for new libudev
+- Conditional BuildReqs for {libudev,systemd}-devel
+
 * Sat May 12 2012 Dave Airlie <airlied at redhat.com> 2.4.34-1
 - libdrm 2.4.34
 


More information about the scm-commits mailing list