From c4fb57d29a40bb15a56cc09e423c5f785a5b63ce Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 21 Nov 2007 02:56:10 +0000 Subject: [PATCH] Make the RPM build. --- pypcilib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pypcilib.spec b/pypcilib.spec index 35c427d..555496f 100644 --- 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}" +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 -- 2.43.0