rpms/eric/FC-5 eric.spec,1.4,1.5
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Thu Sep 7 19:53:08 UTC 2006
- Previous message: rpms/hping3/devel needs.rebuild,1.1,NONE
- Next message: rpms/python-basemap/devel .cvsignore, 1.6, 1.7 python-basemap.spec, 1.8, 1.9 sources, 1.6, 1.7 needs.rebuild, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rdieter
Update of /cvs/extras/rpms/eric/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11384
Modified Files:
eric.spec
Log Message:
* Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 5.9.1-3
- include .py[c,o] files again (with no %ghost'ing)
Index: eric.spec
===================================================================
RCS file: /cvs/extras/rpms/eric/FC-5/eric.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- eric.spec 27 Jul 2006 13:04:22 -0000 1.4
+++ eric.spec 7 Sep 2006 19:53:08 -0000 1.5
@@ -5,7 +5,7 @@
Name: eric
Summary: Python IDE
Version: 3.9.1
-Release: 2%{?dist}
+Release: 3%{?dist}%{?kde}
License: GPL
Group: Development/Tools
@@ -99,20 +99,6 @@
touch %{buildroot}%{_bindir}/gen_sip_api.py{c,o}
touch %{buildroot}%{_bindir}/gen_python_api.py{c,o}
-# Having to ghost the .pyo files sucks; this makes it tolerable.
-find %{buildroot}%{python_sitedir} -type d | \
- sed 's:%{buildroot}\(.*\):%dir \1:' >> %{name}-files.list
-find %{buildroot}%{python_sitedir} -not -type d -not -name '*.pyo' | \
- sed 's:%{buildroot}\(.*\):\1:' >> %{name}-files.list
-find %{buildroot}%{python_sitedir} -not -type d -name '*.pyo' | \
- sed 's:%{buildroot}\(.*\):%ghost \1:' >> %{name}-files.list
-
-%if "%{?fedora}" > "4"
-# These two files are created by RPM
-echo "%ghost %{python_sitedir}/eric3config.pyo" >> %{name}-files.list
-echo "%ghost %{python_sitedir}/sitecustomize.pyo" >> %{name}-files.list
-%endif
-
# mostly to make rpmlint happier, non-executable-scripts
chmod a+x %{buildroot}%{python_sitedir}/eric3/ThirdParty/brm/bike/parsing/fastparser.py ||:
@@ -133,7 +119,6 @@
%{__python} %{_bindir}/gen_sip_api.py --kde %{_datadir}/eric/ >& /dev/null ||:
-
%clean
rm -rf %{buildroot}
@@ -142,9 +127,11 @@
%defattr(-,root,root,-)
%doc eric/README* THANKS HISTORY LICENSE.GPL
%{_bindir}/eric3*
-%{_bindir}/gen_*_api.py*
-%exclude %{_bindir}/*.pyc
-%exclude %{_bindir}/*.pyo
+%{_bindir}/gen_*_api.py
+%exclude %{_bindir}/gen_*_api.py[co]
+%{python_sitedir}/eric3config.py*
+%{python_sitedir}/sitecustomize.py*
+%{python_sitedir}/eric3/
%dir %{_datadir}/eric/
%{_datadir}/eric/python.api
@@ -154,6 +141,9 @@
%changelog
+* Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 5.9.1-3
+- include .py[c,o] files again (with no %%ghost'ing)
+
* Thu Jul 27 2006 Rex Dieter <rexdieter[AT]users.sf.net> 3.9.1-2
- (re)enable PYTHONOPTIMIZE
- Previous message: rpms/hping3/devel needs.rebuild,1.1,NONE
- Next message: rpms/python-basemap/devel .cvsignore, 1.6, 1.7 python-basemap.spec, 1.8, 1.9 sources, 1.6, 1.7 needs.rebuild, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list