rpms/xorg-x11-drv-savage/devel make-git-snapshot.sh, NONE, 1.1 .cvsignore, 1.9, 1.10 sources, 1.9, 1.10 xorg-x11-drv-savage.spec, 1.22, 1.23

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Mon Dec 10 18:55:15 UTC 2007


Author: ajax

Update of /cvs/pkgs/rpms/xorg-x11-drv-savage/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7393/devel

Modified Files:
	.cvsignore sources xorg-x11-drv-savage.spec 
Added Files:
	make-git-snapshot.sh 
Log Message:
today's git snapshot, for pciaccess goodness



--- NEW FILE make-git-snapshot.sh ---
#!/bin/sh

DIRNAME=xf86-video-savage-$( date +%Y%m%d )

rm -rf $DIRNAME
git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-savage $DIRNAME
cd $DIRNAME
if [ -z "$1" ]; then
    git log | head -1
else
    git checkout $1
fi
git log | head -1 | awk '{ print $2 }' > ../commitid
git repack -a -d
cd ..
tar jcf $DIRNAME.tar.bz2 $DIRNAME
rm -rf $DIRNAME


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-savage/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- .cvsignore	17 Aug 2007 04:41:17 -0000	1.9
+++ .cvsignore	10 Dec 2007 18:54:37 -0000	1.10
@@ -1,2 +1 @@
-xf86-video-savage-2.1.2.tar.bz2
-xf86-video-savage-2.1.3.tar.bz2
+xf86-video-savage-20071210.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-savage/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- sources	17 Aug 2007 04:41:17 -0000	1.9
+++ sources	10 Dec 2007 18:54:37 -0000	1.10
@@ -1 +1 @@
-9c5e541613b07de6e7b2b2df3a2e35b1  xf86-video-savage-2.1.3.tar.bz2
+9a70d0ffe597ad282724e05610874570  xf86-video-savage-20071210.tar.bz2


Index: xorg-x11-drv-savage.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-drv-savage/devel/xorg-x11-drv-savage.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- xorg-x11-drv-savage.spec	17 Aug 2007 04:41:17 -0000	1.22
+++ xorg-x11-drv-savage.spec	10 Dec 2007 18:54:37 -0000	1.23
@@ -2,39 +2,49 @@
 %define moduledir %(pkg-config xorg-server --variable=moduledir )
 %define driverdir	%{moduledir}/drivers
 
+%define gitdate 20071210
+
 Summary:   Xorg X11 savage video driver
 Name:      xorg-x11-drv-savage
 Version:   2.1.3
-Release:   1%{?dist}
+Release:   99.%{gitdate}%{?dist}
 URL:       http://www.x.org
 License: MIT
 Group:     User Interface/X Hardware Support
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
+#Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
+Source0:   %{tarball}-%{gitdate}.tar.bz2
 Source1:   savage.xinf
+Source2:   make-git-snapshot.sh
 
 Patch1:    savage-2.1.2-missing-symbol.patch
 Patch2:    savage-2.1.2-panel-range-hack.patch
 
 ExcludeArch: s390 s390x
 
-BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
+%if 0%{?gitdate}
+BuildRequires: autoconf automake libtool
+%endif
+BuildRequires: xorg-x11-server-devel >= 1.4.99.1
 BuildRequires: mesa-libGL-devel >= 6.4-4
 BuildRequires: libdrm-devel >= 2.0-1
 
 Requires:  hwdata
-Requires:  xorg-x11-server-Xorg >= 1.3.0.0-6
+Requires:  xorg-x11-server-Xorg >= 1.4.99.1
 
 %description 
 X.Org X11 savage video driver.
 
 %prep
-%setup -q -n %{tarball}-%{version}
+%setup -q -n %{tarball}-%{gitdate}
 %patch1 -p1 -b .missing-symbol
 %patch2 -p1 -b .range-hack
 
 %build
+%if 0%{?gitdate}
+autoreconf -v --install || exit 1
+%endif
 %configure --disable-static --enable-dri
 make
 
@@ -60,6 +70,9 @@
 %{_mandir}/man4/savage.4*
 
 %changelog
+* Mon Dec 10 2007 Adam Jackson <ajax at redhat.com> 2.1.3-1
+- Today's git snapshot, for pciaccess goodness.
+
 * Mon Aug 17 2007 Dave Airlie <airlied at redhat.com>  2.1.3-1
 * Update to 2.1.3
 




More information about the fedora-extras-commits mailing list