]> git.pld-linux.org Git - packages/newt.git/commitdiff
- compile snack files and remove .py sources; rel 2 AC-STABLE auto/ac/newt-0_52_2-2 auto/th/newt-0_52_2-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 May 2006 23:54:19 +0000 (23:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    newt.spec -> 1.81

newt.spec

index b97567354918de0aca51ce5a5b300d67443b781c..569307e0a6d56605d6d94aa3b833569a026747e2 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -10,7 +10,7 @@ Summary(pl):  Not Erik's Windowing Toolkit - okna w trybie tekstowym ze slangiem
 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/
@@ -190,6 +190,10 @@ rm -rf $RPM_BUILD_ROOT
        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
 
@@ -217,7 +221,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.121123 seconds and 4 git commands to generate.