Make the RPM build.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Wed, 21 Nov 2007 02:56:10 +0000 (02:56 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Wed, 21 Nov 2007 02:56:10 +0000 (02:56 +0000)
pypcilib.spec

index 35c427d..555496f 100644 (file)
@@ -32,6 +32,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
 %install
 rm -fr "%{buildroot}"
 %{__python} setup.py install -O1 --skip-build --root "%{buildroot}"
+touch %{buildroot}%{python_sitearch}/pypcimap.py{c,o}
 
 
 %clean
@@ -41,7 +42,9 @@ rm -fr "%{buildroot}"
 %files
 %defattr(-,root,root,-)
 %{python_sitearch}/pypciscan.so
-%{python_sitelib}/pypcimap.py
+%{python_sitearch}/pypcimap.py
+%ghost %{python_sitearch}/pypcimap.pyc
+%ghost %{python_sitearch}/pypcimap.pyo
 
 
 %changelog