- What he said.

This commit is contained in:
Kristian Høgsberg 2008-03-04 01:42:54 +00:00
parent 5208e7ea7c
commit 4ef71cffe2
4 changed files with 24 additions and 16 deletions

View File

@ -1 +1 @@
libdrm-20080215.tar.bz2
libdrm-20080303.tar.bz2

View File

@ -1,9 +1,9 @@
%define gitdate 20080215
%define gitdate 20080303
Summary: Direct Rendering Manager runtime library
Name: libdrm
Version: 2.4.0
Release: 0.4%{?dist}
Release: 0.5%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://dri.sourceforge.net
@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libdrm.pc
%changelog
* Mon Mar 3 2008 Kristian Høgsberg <krh@redhat.com> - 2.4.0-0.5
- What he said.
* Fri Feb 15 2008 Adam Jackson <ajax@redhat.com> 2.4.0-0.4
- Today's git snapshot for updated headers.

View File

@ -1,17 +1,22 @@
#!/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 git://git.freedesktop.org/git/mesa/drm $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
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

View File

@ -1 +1 @@
8fc14f6cff3639da43d9b57a5143a675 libdrm-20080215.tar.bz2
ead994b34decae8a63407147b640acc6 libdrm-20080303.tar.bz2