[projects/template-specs] Python template: pypi package names are also ok

jajcus jajcus at pld-linux.org
Mon Dec 7 12:16:36 CET 2015


commit d1ab9a90f890cef412a306126d9f1b47816fc8f2
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Dec 7 12:15:35 2015 +0100

    Python template: pypi package names are also ok
    
    'Use what is used in import' was good idea before setuptools and pypi
    package management. Now that are names everybody use.

 python-ext.spec | 2 +-
 python.spec     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-ext.spec b/python-ext.spec
index 4e6144b..a1cbfaa 100644
--- a/python-ext.spec
+++ b/python-ext.spec
@@ -11,7 +11,7 @@
 %define 	module	template
 Summary:	-
 Summary(pl.UTF-8):	-
-# Name must match the python module/package name (as in 'import' statement)
+# Name must match the python module/package name (as on pypi or in 'import' statement)
 Name:		python-%{module}
 Version:	_
 Release:	0.1
diff --git a/python.spec b/python.spec
index 406b2d7..32fea52 100644
--- a/python.spec
+++ b/python.spec
@@ -12,7 +12,7 @@
 %define 	module	template
 Summary:	-
 Summary(pl.UTF-8):	-
-# Name must match the python module/package name (as in 'import' statement)
+# Name must match the python module/package name (as on pypi or in 'import' statement)
 Name:		python-%{module}
 Version:	_
 Release:	0.1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/d1ab9a90f890cef412a306126d9f1b47816fc8f2



More information about the pld-cvs-commit mailing list