packages: python-PyXB/python-PyXB.spec - unify license - common examplesdir...

glen glen at pld-linux.org
Wed May 26 23:38:34 CEST 2010


Author: glen                         Date: Wed May 26 21:38:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unify license
- common examplesdir, no subdir in examples

---- Files affected:
packages/python-PyXB:
   python-PyXB.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/python-PyXB/python-PyXB.spec
diff -u packages/python-PyXB/python-PyXB.spec:1.3 packages/python-PyXB/python-PyXB.spec:1.4
--- packages/python-PyXB/python-PyXB.spec:1.3	Wed May 26 15:02:24 2010
+++ packages/python-PyXB/python-PyXB.spec	Wed May 26 23:38:29 2010
@@ -4,7 +4,7 @@
 Name:		python-%{module}
 Version:	1.1.1
 Release:	0.1
-License:	Apache v. 2.0
+License:	Apache v2.0
 Group:		Development/Languages/Python
 Source0:	http://downloads.sourceforge.net/project/pyxb/pyxb/1.1.1%20%28Beta%29/PyXB-base-%{version}.tar.gz
 # Source0-md5:	90e38bf24693478f664c8fdf78d92f05
@@ -42,7 +42,6 @@
 
 %prep
 %setup -q -n %{module}-%{version}
-
 %patch0 -p1
 
 %build
@@ -59,7 +58,7 @@
 %py_postclean
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}
-cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -85,7 +84,7 @@
 
 %files examples
 %defattr(644,root,root,755)
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -93,6 +92,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/05/26 21:38:29  glen
+- unify license
+- common examplesdir, no subdir in examples
+
 Revision 1.3  2010/05/26 13:02:24  pawelz
 - added shebang.patch (/usr/bin/env python -> /usr/bin/python)
 
@@ -102,4 +105,3 @@
 Revision 1.1  2010/05/25 08:00:37  pawelz
 - initial PLD release
 - please review, this is the first python library I packaged
-
================================================================

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



More information about the pld-cvs-commit mailing list