SPECS: NewsFeed.spec - standardized

saq saq at pld-linux.org
Tue Aug 16 18:49:15 CEST 2005


Author: saq                          Date: Tue Aug 16 16:49:15 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- standardized

---- Files affected:
SPECS:
   NewsFeed.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/NewsFeed.spec
diff -u SPECS/NewsFeed.spec:1.1 SPECS/NewsFeed.spec:1.2
--- SPECS/NewsFeed.spec:1.1	Tue Aug 16 17:32:17 2005
+++ SPECS/NewsFeed.spec	Tue Aug 16 18:49:10 2005
@@ -14,6 +14,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.231
 BuildRequires:	rpm-pythonprov
 Requires:	python-tkinter >= 2.3
+%pyrequires_eq	python-modules
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,15 +26,16 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
 python ./setup.py install \
+	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-%{py_ocomp} $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
-%{py_postclean}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{lname}.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{lname}.png
 
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{lname}.desktop
-install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{lname}.png
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,6 +54,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/08/16 16:49:10  saq
+- standardized
+
 Revision 1.1  2005/08/16 15:32:17  twittner
 - added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/NewsFeed.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list