rpms/libdrm/devel libdrm.spec,1.56,1.57

Dave Airlie airlied at fedoraproject.org
Sun Feb 1 07:09:07 UTC 2009


Author: airlied

Update of /cvs/pkgs/rpms/libdrm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21071

Modified Files:
	libdrm.spec 
Log Message:
* Sun Feb 01 2009 Dave Airlie <airlied at redhat.com> 2.4.4-2
- update specfile with review changes



Index: libdrm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdrm/devel/libdrm.spec,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- libdrm.spec	30 Jan 2009 08:39:30 -0000	1.56
+++ libdrm.spec	1 Feb 2009 07:08:35 -0000	1.57
@@ -3,7 +3,7 @@
 Summary: Direct Rendering Manager runtime library
 Name: libdrm
 Version: 2.4.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://dri.sourceforge.net
@@ -12,6 +12,8 @@
 Source1: make-git-snapshot.sh
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Requires: udev
+
 BuildRequires: pkgconfig automake autoconf libtool
 
 BuildRequires: kernel-headers >= 2.6.27-0.317.rc5.git10.fc10
@@ -20,12 +22,11 @@
 
 Source2: 91-drm-modeset.rules
 
-#Patch1: libdrm-modesetting.patch
-Patch2: libdrm-2.4.0-no-freaking-mknod.patch
-# udev vs pam.console vs hal vs xml vs ConsoleKit
-# - funk that just bash it direct for now -
+# hardcode the 666 instead of 660 for device nodes
 Patch3: libdrm-make-dri-perms-okay.patch
+# remove backwards compat not needed on Fedora
 Patch4: libdrm-2.4.0-no-bc.patch
+# radeon libdrm patches from modesetting-gem branch of upstream
 Patch8: libdrm-radeon.patch
 Patch9: libdrm-radeon-update.patch
 
@@ -37,13 +38,13 @@
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 Requires: kernel-headers >= 2.6.27-0.144.rc0.git2.fc10
+Requires: pkgconfig
 
 %description devel
 Direct Rendering Manager development package
 
 %prep
 %setup -q -n %{name}-%{version}
-#patch2 -p1 -b .mknod
 %patch3 -p1 -b .forceperms
 %patch4 -p1 -b .no-bc
 %patch8 -p1 -b .radeon
@@ -52,7 +53,7 @@
 %build
 autoreconf -v --install || exit 1
 %configure --enable-udev
-make
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,7 +85,7 @@
 %{_libdir}/libdrm_intel.so.1.0.0
 %{_libdir}/libdrm_radeon.so.1
 %{_libdir}/libdrm_radeon.so.1.0.0
-%{_sysconfdir}/udev/rules.d/91-drm-modeset.rules
+%config %{_sysconfdir}/udev/rules.d/91-drm-modeset.rules
 
 %files devel
 %defattr(-,root,root,-)
@@ -99,6 +100,9 @@
 %{_libdir}/pkgconfig/libdrm.pc
 
 %changelog
+* Sun Feb 01 2009 Dave Airlie <airlied at redhat.com> 2.4.4-2
+- update specfile with review changes
+
 * Fri Jan 30 2009 Dave Airlie <airlied at redhat.com> 2.4.4-1
 - rebase to 2.4.4
 




More information about the fedora-extras-commits mailing list