SPECS: python-ipc.spec - rel 2; fix build
arekm
arekm at pld-linux.org
Sat Dec 24 18:36:57 CET 2005
Author: arekm Date: Sat Dec 24 17:36:57 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 2; fix build
---- Files affected:
SPECS:
python-ipc.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/python-ipc.spec
diff -u SPECS/python-ipc.spec:1.8 SPECS/python-ipc.spec:1.9
--- SPECS/python-ipc.spec:1.8 Sat Mar 12 13:32:37 2005
+++ SPECS/python-ipc.spec Sat Dec 24 18:36:51 2005
@@ -6,7 +6,7 @@
Summary(pl): Moduł Pythona implementujący komunikację międzyprocesową
Name: python-%{module}
Version: 0.0.1
-Release: 1
+Release: 2
License: GNU
Group: Development/Languages/Python
Source0: http://www.heiho.net/python-ipc/python-ipc.tar.gz
@@ -29,16 +29,18 @@
%patch0 -p1
%build
-CFLAGS="%{rpmcflags}"
-export CFLAGS
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}" \
+ PYTHON_INCLUDE="%{py_incdir}"
-%{__make}
python -c "import compiler;compiler.compileFile('ipc.py')"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitedir}
-install ipc.pyc _ipc.so $RPM_BUILD_ROOT%{py_sitedir}
+
+install ipc.py[co] _ipc.so $RPM_BUILD_ROOT%{py_sitedir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -46,7 +48,7 @@
%files
%defattr(644,root,root,755)
%doc README
-%{py_sitedir}/%{module}.pyc
+%{py_sitedir}/%{module}.py[co]
%attr(755,root,root) %{py_sitedir}/_%{module}.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -55,6 +57,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/12/24 17:36:51 arekm
+- rel 2; fix build
+
Revision 1.8 2005/03/12 12:32:37 troll
- mass commit: remove obsolete BR: rpm-pythonprov
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-ipc.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list