SPECS: newt.spec - compile snack files and remove .py sources; rel 2

glen glen at pld-linux.org
Wed May 24 01:54:25 CEST 2006


Author: glen                         Date: Tue May 23 23:54:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- compile snack files and remove .py sources; rel 2

---- Files affected:
SPECS:
   newt.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: SPECS/newt.spec
diff -u SPECS/newt.spec:1.80 SPECS/newt.spec:1.81
--- SPECS/newt.spec:1.80	Thu May 18 01:22:14 2006
+++ SPECS/newt.spec	Wed May 24 01:54:19 2006
@@ -11,7 +11,7 @@
 Summary(tr):	Not Erik's Windowing Toolkit - metin kipi pencereleme sistemi
 Name:		newt
 Version:	0.52.2
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 # http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/
@@ -191,6 +191,10 @@
 	pythondir=%{py_sitedir} \
 	pythonbindir=%{py_sitedir}
 
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
 #it just plain doesn't work... fix it if you can
 #sgml2txt tutorial.sgml
 
@@ -218,7 +222,7 @@
 %files -n python-snack
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitedir}/*.py
+%{py_sitedir}/*.py[co]
 %endif
 
 %files devel
@@ -236,6 +240,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2006/05/23 23:54:19  glen
+- compile snack files and remove .py sources; rel 2
+
 Revision 1.80  2006/05/17 23:22:14  glen
 - updated to 0.52.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/newt.spec?r1=1.80&r2=1.81&f=u



More information about the pld-cvs-commit mailing list