[projects/template-specs] - make sure that produced rpms have the correct names

baggins baggins at pld-linux.org
Sun Jun 9 19:03:57 CEST 2019


commit 2d5bfe82487064037022f0140cfc023a70f9fdba
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 9 19:03:35 2019 +0200

    - make sure that produced rpms have the correct names

 python.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python.spec b/python.spec
index 168d744..cd55cf4 100644
--- a/python.spec
+++ b/python.spec
@@ -18,7 +18,7 @@
 %define		pypi_name	django-crispy-forms
 Summary:	-
 Summary(pl.UTF-8):	-
-Name:		python-%{pypi_name}
+Name:		python-%{module}
 Version:	_
 Release:	0.1
 License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
@@ -50,15 +50,15 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description -l pl.UTF-8
 
-%package -n python3-%{pypi_name}
+%package -n python3-%{module}
 Summary:	-
 Summary(pl.UTF-8):	-
 Group:		Libraries/Python
 Requires:	python3-modules
 
-%description -n python3-%{pypi_name}
+%description -n python3-%{module}
 
-%description -n python3-%{pypi_name} -l pl.UTF-8
+%description -n python3-%{module} -l pl.UTF-8
 
 %package apidocs
 Summary:	API documentation for Python %{module} module
@@ -138,7 +138,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%files -n python3-%{pypi_name}
+%files -n python3-%{module}
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGES LICENSE
 %{py3_sitescriptdir}/%{module}
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list