diff --git a/libpciaccess.spec b/libpciaccess.spec
index 82d71e1..76e7293 100644
--- a/libpciaccess.spec
+++ b/libpciaccess.spec
@@ -34,7 +34,7 @@ Requires:       pkgconfig
 Development package for libpciaccess.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{gitdate}
 
 %build
 autoreconf -v --install
@@ -56,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog
 %{_libdir}/libpciaccess.so.0
-%{_libdir}/libpciaccess.so.0.8.0
+%{_libdir}/libpciaccess.so.0.10.0
 
 %files devel
 %defattr(-,root,root,-)
@@ -67,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Oct 31 2007 Kristian Høgsberg <krh@redhat.com> 0.9.1-2.20071031
 - New snapshot, git revision e392082abb5696c8837224da86cc0af4f21d7010.
+- Pick up new .so file.
 
 * Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.1-1
 - libpciaccess 0.9.1