[packages/python-social-auth-core] macro for python3 package name

glen glen at pld-linux.org
Sun Apr 23 18:04:14 CEST 2017


commit 771af505b44115edb2bba0205631b338d461050e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 23 19:02:37 2017 +0300

    macro for python3 package name

 python-social-auth-core.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/python-social-auth-core.spec b/python-social-auth-core.spec
index 78faa2f..92e52b3 100644
--- a/python-social-auth-core.spec
+++ b/python-social-auth-core.spec
@@ -41,11 +41,11 @@ implements the common interface to define new authentication backends
 to third parties services, implement integrations with web frameworks
 and storage solutions.
 
-%package -n python3-social-auth-core
+%package -n python3-%{pypi_name}
 Summary:	Social auth made simple
 Group:		Development/Libraries
 
-%description -n python3-social-auth-core
+%description -n python3-%{pypi_name}
 Python Social Auth is an easy to setup social
 authentication/registration mechanism with support for several
 frameworks and auth providers.
@@ -96,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with python3}
-%files -n python3-social-auth-core
+%files -n python3-%{pypi_name}
 %defattr(644,root,root,755)
 %doc README.md LICENSE
 %{py3_sitescriptdir}/%{module}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-social-auth-core.git/commitdiff/771af505b44115edb2bba0205631b338d461050e



More information about the pld-cvs-commit mailing list