- New git snapshot
- Drop the fd cache patch
This commit is contained in:
parent
0894b6d776
commit
d95f75e568
@ -1 +1 @@
|
|||||||
libpciaccess-0.10.9.tar.bz2
|
libpciaccess-20091209.tar.bz2
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
%define gitdate 20071031
|
%define gitdate 20091209
|
||||||
%define gitrev e392082abb5696c8837224da86cc0af4f21d7010
|
%define gitrev 5e8d4c19b4f618e22b6e8e1ad3294d8708067474
|
||||||
|
|
||||||
Name: libpciaccess
|
Name: libpciaccess
|
||||||
Version: 0.10.9
|
Version: 0.10.9
|
||||||
Release: 1%{?dist}
|
Release: 2.%{gitdate}%{?dist}
|
||||||
Summary: PCI access library
|
Summary: PCI access library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -12,12 +12,11 @@ URL: http://gitweb.freedesktop.org/?p=xorg/lib/libpciaccess.git
|
|||||||
|
|
||||||
# git snapshot. To recreate, run
|
# git snapshot. To recreate, run
|
||||||
# % ./make-libpciaccess-snapshot.sh %{gitrev}
|
# % ./make-libpciaccess-snapshot.sh %{gitrev}
|
||||||
#Source0: libpciaccess-20071031.tar.bz2
|
Source0: libpciaccess-%{gitdate}.tar.bz2
|
||||||
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
#Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
Source1: make-libpciaccess-snapshot.sh
|
Source1: make-libpciaccess-snapshot.sh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Patch0: libpciaccess-fd-cache.patch
|
|
||||||
Patch2: libpciaccess-rom-size.patch
|
Patch2: libpciaccess-rom-size.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool pkgconfig xorg-x11-util-macros
|
BuildRequires: autoconf automake libtool pkgconfig xorg-x11-util-macros
|
||||||
@ -37,8 +36,7 @@ Requires: pkgconfig
|
|||||||
Development package for libpciaccess.
|
Development package for libpciaccess.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{gitdate}
|
||||||
%patch0 -p1 -b .cache
|
|
||||||
%patch2 -p1 -b .rom-size
|
%patch2 -p1 -b .rom-size
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -59,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING AUTHORS ChangeLog
|
%doc COPYING AUTHORS
|
||||||
%{_libdir}/libpciaccess.so.0
|
%{_libdir}/libpciaccess.so.0
|
||||||
%{_libdir}/libpciaccess.so.0.10.*
|
%{_libdir}/libpciaccess.so.0.10.*
|
||||||
|
|
||||||
@ -70,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/pciaccess.pc
|
%{_libdir}/pkgconfig/pciaccess.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 09 2009 Adam Jackson <ajax@redhat.com> 0.10.9-2.20091209
|
||||||
|
- New git snapshot
|
||||||
|
- Drop the fd cache patch
|
||||||
|
|
||||||
* Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 0.10.9-1
|
* Fri Sep 25 2009 Dave Airlie <airlied@redhat.com> 0.10.9-1
|
||||||
- rebase to latest upstream release - drop patches
|
- rebase to latest upstream release - drop patches
|
||||||
|
|
||||||
@ -100,7 +102,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- rebase to latest release (will do release with VGA bits later)
|
- rebase to latest release (will do release with VGA bits later)
|
||||||
- libpciaccess-boot-vga.patch: add boot vga patch from upstream
|
- libpciaccess-boot-vga.patch: add boot vga patch from upstream
|
||||||
|
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-2
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.5-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -12,7 +12,13 @@ else
|
|||||||
bzip2 -c > $DIRNAME-$DATE.tar.bz2
|
bzip2 -c > $DIRNAME-$DATE.tar.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HASH=$(GIT_DIR=gah.git git-show-ref -s $REV)
|
HASH=$(GIT_DIR=$DIRNAME.git git show-ref -s $REV)
|
||||||
|
|
||||||
|
echo $HASH
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
|
# the rest of this is supposed to work? i guess.
|
||||||
|
|
||||||
version=$(sed -n -e "s/^Version: *\(.*\)/\1/p" < libpciaccess.spec)
|
version=$(sed -n -e "s/^Version: *\(.*\)/\1/p" < libpciaccess.spec)
|
||||||
release=$(sed -n -e "s/^Release: *\([^.]*\).*/\1/p" < libpciaccess.spec)
|
release=$(sed -n -e "s/^Release: *\([^.]*\).*/\1/p" < libpciaccess.spec)
|
||||||
|
Loading…
Reference in New Issue
Block a user