2009-10-14 Darren Kenny <
[email protected]>
* SUNWgnome-python-extras.spec, SUNWgnome-python26-extras.spec:
Update to remove .pyo files.
--- a/ChangeLog Wed Oct 14 09:04:02 2009 +0000
+++ b/ChangeLog Wed Oct 14 09:39:55 2009 +0000
@@ -1,3 +1,8 @@
+2009-10-14 Darren Kenny <[email protected]>
+
+ * SUNWgnome-python-extras.spec, SUNWgnome-python26-extras.spec:
+ Update to remove .pyo files.
+
2009-10-14 Li Yuan <[email protected]>
* SUNWgnome-a11y-gok.spec:
--- a/SUNWgnome-python-extras.spec Wed Oct 14 09:04:02 2009 +0000
+++ b/SUNWgnome-python-extras.spec Wed Oct 14 09:39:55 2009 +0000
@@ -10,6 +10,7 @@
%include Solaris.inc
%define pythonver 2.4
+
%use gpe = gnome-python-extras.spec
Name: SUNWgnome-python-extras
@@ -61,6 +62,9 @@
# included in SUNWggnome-python26-extras
rm -r $RPM_BUILD_ROOT%{_datadir}/pygtk
+echo deleting pyo files
+find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
+
# move to subdir to avoid conflict with python 2.6
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig \
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/
@@ -85,6 +89,8 @@
%{_libdir}/python%{pythonver}/pkgconfig/*
%changelog
+* Wed Oct 14 2009 - [email protected]
+- Remove .pyo files from package.
* Wed Jul 08 2009 - [email protected]
- Remove the compiler option -xregs=no%frameptr as it's set as default.
* Fri May 22 2009 - [email protected]
--- a/SUNWgnome-python26-extras.spec Wed Oct 14 09:04:02 2009 +0000
+++ b/SUNWgnome-python26-extras.spec Wed Oct 14 09:39:55 2009 +0000
@@ -10,6 +10,7 @@
%include Solaris.inc
%define pythonver 2.6
+
%use gpe = gnome-python-extras.spec
Name: SUNWgnome-python26-extras
@@ -57,6 +58,9 @@
rm -rf $RPM_BUILD_ROOT
%gpe.install -d %name-%version
+echo deleting pyo files
+find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
+
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean
@@ -78,6 +82,8 @@
%{_libdir}/pkgconfig/*
%changelog
+* Wed Oct 14 2009 - [email protected]
+- Remove .pyo files from package.
* Wed Jul 08 2009 - [email protected]
- Remove the compiler option -xregs=no%frameptr as it's set as default.
* Fri May 22 2009 - [email protected]