packages: python-pycairo/python-pycairo.spec - define name for module - use...

lisu lisu at pld-linux.org
Fri Dec 10 09:41:05 CET 2010


Author: lisu                         Date: Fri Dec 10 08:41:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- define name for module
- use rm macro

---- Files affected:
packages/python-pycairo:
   python-pycairo.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: packages/python-pycairo/python-pycairo.spec
diff -u packages/python-pycairo/python-pycairo.spec:1.44 packages/python-pycairo/python-pycairo.spec:1.45
--- packages/python-pycairo/python-pycairo.spec:1.44	Tue Oct 19 14:42:20 2010
+++ packages/python-pycairo/python-pycairo.spec	Fri Dec 10 09:41:00 2010
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
+%define		module	pycairo
 Summary:	Python Cairo bindings
 Summary(pl.UTF-8):	Dowiązania Pythona dla Cairo
-Name:		python-pycairo
+Name:		python-%{module}
 Version:	1.8.10
 Release:	3
 License:	LGPL v2.1 or MPL v1.1
@@ -57,7 +58,7 @@
 Przykładowe programy w Pythonie używające Cairo.
 
 %prep
-%setup -q -n pycairo-%{version}
+%setup -q -n %{module}-%{version}
 
 %build
 %{__libtoolize}
@@ -78,7 +79,7 @@
 
 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-rm $RPM_BUILD_ROOT%{py_sitedir}/cairo/*.{la,py}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/cairo/*.{la,py}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -108,6 +109,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2010/12/10 08:41:00  lisu
+- define name for module
+- use rm macro
+
 Revision 1.44  2010/10/19 12:42:20  lisu
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pycairo/python-pycairo.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list