git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
On FC5 and above rpmbuil will run brp on all python files that
[util-vserver.git]
/
util-vserver.spec.in
diff --git
a/util-vserver.spec.in
b/util-vserver.spec.in
index
88a416e
..
be2b242
100644
(file)
--- a/
util-vserver.spec.in
+++ b/
util-vserver.spec.in
@@
-109,7
+109,7
@@
Requires: %name-lib = %version-%release
%package python
Summary: Python modules for manipulating vservers
Group: Applications/System
%package python
Summary: Python modules for manipulating vservers
Group: Applications/System
-Requires: python
util-python
+Requires: python
Obsoletes: util-vserver-py23 resman
Obsoletes: util-vserver-py23 resman
@@
-222,6
+222,9
@@
contrib/make-manifest %name $RPM_BUILD_ROOT contrib/manifest.dat
find "%{buildroot}" -name '*.py' | { while read FILE; do
f="${FILE#%{buildroot}}"
echo "${f}"
find "%{buildroot}" -name '*.py' | { while read FILE; do
f="${FILE#%{buildroot}}"
echo "${f}"
+ # need to touch these files, as they are not produced on FC4 or below
+ touch ${FILE}c
+ touch ${FILE}o
echo %%ghost "${f}c"
echo %%ghost "${f}o"
done } > %name-python.list
echo %%ghost "${f}c"
echo %%ghost "${f}o"
done } > %name-python.list
@@
-417,6
+420,9
@@
done
%changelog
%changelog
+* Wed Oct 03 2007 Daniel Hokka Zakrisson <daniel@hozac.com>
+- build python code as part of the regular build process
+
* Mon Jul 30 2007 Daniel Hokka Zakrisson <daniel@hozac.com>
- add vip6-autod
* Mon Jul 30 2007 Daniel Hokka Zakrisson <daniel@hozac.com>
- add vip6-autod