git://git.onelab.eu
/
pypcilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b6d645f
)
Make the RPM build.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Wed, 21 Nov 2007 02:56:10 +0000
(
02:56
+0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Wed, 21 Nov 2007 02:56:10 +0000
(
02:56
+0000)
pypcilib.spec
patch
|
blob
|
history
diff --git
a/pypcilib.spec
b/pypcilib.spec
index
35c427d
..
555496f
100644
(file)
--- a/
pypcilib.spec
+++ b/
pypcilib.spec
@@
-32,6
+32,7
@@
CFLAGS="%{optflags}" %{__python} setup.py build
%install
rm -fr "%{buildroot}"
%{__python} setup.py install -O1 --skip-build --root "%{buildroot}"
%install
rm -fr "%{buildroot}"
%{__python} setup.py install -O1 --skip-build --root "%{buildroot}"
+touch %{buildroot}%{python_sitearch}/pypcimap.py{c,o}
%clean
%clean
@@
-41,7
+42,9
@@
rm -fr "%{buildroot}"
%files
%defattr(-,root,root,-)
%{python_sitearch}/pypciscan.so
%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
%changelog